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:47:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDDS-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christos Bisias updated HDDS-7329:
----------------------------------
    Summary: Extend ozone admin datanode usageinfo and list info to accept hostname parameter  (was: Extend ozone admin datanode usageinfo and list info to accept --hostname parameter)

> 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
>            Assignee: Christos Bisias
>            Priority: Major
>
> 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