[ 
https://issues.apache.org/jira/browse/HDDS-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16749777#comment-16749777
 ] 

Elek, Marton commented on HDDS-936:
-----------------------------------

Thanks [~saruntek] to work on this. Overall the implementation looks good to me 
but I have some proposal to the code organization.

It's not clear, how this new command can be called. It was not defined in the 
description but I expected to have a CLI tool.

As we have already existing tools projects I would put this class to the 
hadoop-ozone/tools project. We already have an 'ozone scmcli' command to do scm 
related administration tasks from the command line, I think we can put this 
implementation to an 'ozone omcli' command. 
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/SCMCLI.java is 
an example of the command, I think we can create a similar file under 
hadoop-ozone/tools (instead of a separated project) and define a single 
subcommand. It would help us to execute the command from the command line.

 

 

> Need a tool to map containers to ozone objects
> ----------------------------------------------
>
>                 Key: HDDS-936
>                 URL: https://issues.apache.org/jira/browse/HDDS-936
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Manager
>            Reporter: Jitendra Nath Pandey
>            Assignee: sarun singla
>            Priority: Major
>         Attachments: HDDS-936.00.patch, HDDS-936.01.patch, HDDS-936.02.patch
>
>
> Ozone should have a tool to get list of objects that a container contains. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to