xBis7 commented on PR #3835:
URL: https://github.com/apache/ozone/pull/3835#issuecomment-1280060368

   Hi @sokui, I wasn't aware of this. I was told that this flag is not used by 
the community and that we can deprecate it. We must keep the existing code as 
it is. 
   
   The goal here is to have a consistent CLI, so we keep the code as it is but 
we won't expose that behavior to the user. We need the --ip to accept only an 
IP address and add the --hostname parameter for accepting a hostname. We could 
create two new maps, one for mapping IP to UUID and one for mapping hostname to 
UUID and we could use those maps for accessing datanode info from the CLI. 
@adoroszlai @sokui What do you think about this approach?  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to