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

   ## What changes were proposed in this pull request?
   The prefix subcommand only works on OM using the FSO namespace so it should 
be under the om subcommand.
   
   ## What is the link to the Apache JIRA
   [HDDS-12054](https://issues.apache.org/jira/browse/HDDS-12054)
   
   ## How was this patch tested?
   Tested the patch on a docker cluster and through 
`TestOzoneFileSystemPrefixParser.java`
   ```
   bash-5.1$ ozone debug om
   Missing required subcommand
   Usage: ozone debug om [COMMAND]
   Runs OM related subcommands.
   Commands:
     prefix  Parse prefix contents
   
   ```
   
   ```
   bash-5.1$ ozone debug om prefix
   Missing required options: '--db=<dbPath>', '--path=<filePath>', 
'--bucket=<bucket>', '--volume=<volume>'
   Usage: ozone debug om prefix --bucket=<bucket> --db=<dbPath> 
--path=<filePath>
                                --volume=<volume>
   Parse prefix contents
         --bucket=<bucket>   bucket name
         --db=<dbPath>       Database File Path
         --path=<filePath>   prefixFile Path
         --volume=<volume>   volume name
   ```
   
   


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