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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to