nilotpalnandi opened a new pull request #706: HDDS-3246 Include OM hostname info in getserviceroles subcommand of O… URL: https://github.com/apache/hadoop-ozone/pull/706 …M CLI ## What changes were proposed in this pull request? Currently, "getserviceroles" subcommand of OM admin CLI displays only node ID along with its serviceRole. Example : ozone admin om getserviceroles -id=ozone1 om2 : FOLLOWER om3 : FOLLOWER om1 : LEADER Proposed changes is to include hostnames for each Node IDs. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-3246 ## How was this patch tested? Applied the patch and rebuilt ozone Created ozone docker cluster with OM HA using docker-compose Ran "ozone admin om getserviceroles" command sample output : ozone admin om getserviceroles -id=id1 om1 : FOLLOWER (om1) om3 : FOLLOWER (om3) om2 : LEADER (om2)
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
