sarvekshayr opened a new pull request, #7675:
URL: https://github.com/apache/ozone/pull/7675

   ## What changes were proposed in this pull request?
   The `container` subcommand and all commands under it run locally on a 
datanode, so they should be moved under the `datanode` subcommand.
   
   ## What is the link to the Apache JIRA
   [HDDS-12055](https://issues.apache.org/jira/browse/HDDS-12055)
   
   ## How was this patch tested?
   Tested the patch on a docker cluster.
   
   ```
   bash-5.1$ ozone debug datanode 
   Missing required subcommand
   Usage: ozone debug datanode [COMMAND]
   Runs datanode related subcommands.
   Commands:
     container  Container replica specific operations to be executed on 
datanodes
                  only
   ```
   
   ```
   bash-5.1$ ozone debug datanode container
   Missing required subcommand
   Usage: ozone debug datanode container [-hV] [COMMAND]
   Container replica specific operations to be executed on datanodes only
     -h, --help      Show this help message and exit.
     -V, --version   Print version information and exit.
   Commands:
     list     Show container info of all container replicas on datanode
     info     Show container info of a container replica on datanode
     export   Export one container to a tarball
     inspect  Check the metadata of all container replicas on this datanode.
   ```


-- 
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