You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Christos Bisias (Jira)" <ji...@apache.org> on 2022/10/14 10:45:00 UTC

[jira] [Created] (HDDS-7329) Extend ozone admin datanode usageinfo and list info to accept --hostname parameter

Christos Bisias created HDDS-7329:
-------------------------------------

             Summary: Extend ozone admin datanode usageinfo and list info to accept --hostname parameter
                 Key: HDDS-7329
                 URL: https://issues.apache.org/jira/browse/HDDS-7329
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Christos Bisias


Ozone admin datanode subcommands should be more consistent. Some of them accept hostname as a parameter, others don't. Extend usageinfo and list info to accept hostname in addition to uuid and ip address. 

There is an hdfs flag *dfs.datanode.use.datanode.hostname* checked by the SCMNodeManager during start up and if it's true then we can get the datanode info by providing the hostname with the --ip pamameter, while ip will not be available anymore.

If we add the --hostname parameter and keep the flag, then it's confusing for the user. We should deprecate the flag and in every case that it is checked, keep the default usage, which is having value false. This way, --ip will always require the ip and if the user needs to get the info with the hostname, he can use the --hostname parameter.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org