smengcl commented on issue #9: HDDS-2240. Command line tool for OM Admin
URL: https://github.com/apache/hadoop-ozone/pull/9#issuecomment-547403887
 
 
   Thanks @hanishakoneru . The command is working as expected now. lgtm +1. 
Pending @bharatviswa504 's comments.
   
   ```bash
   bash-4.2$ ozone admin om getserviceroles
   Missing required option '--service-id=<omServiceId>'
   Usage: ozone admin om getserviceroles [-hV] -id=<omServiceId>
   List all OMs and their respective Ratis server roles
     -h, --help      Show this help message and exit.
         -id, --service-id=<omServiceId>
                     OM Service ID
     -V, --version   Print version information and exit.
   
   bash-4.2$ ozone admin om getserviceroles --service-id=id1
   om1 : FOLLOWER
   om3 : FOLLOWER
   om2 : LEADER
   
   bash-4.2$ ozone admin om getserviceroles -id=id1
   om1 : FOLLOWER
   om3 : FOLLOWER
   om2 : LEADER
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to