dombizita commented on PR #7229:
URL: https://github.com/apache/ozone/pull/7229#issuecomment-2370855295

   @sadanand48 
   
   > the command will only print containers inside a particular storage dir and 
if no path is provided, it reads from the first storage dir.
   
   I'm not sure I understand this. With the changes in the PR the only change 
is that if we pass the `--path` parameter, when we execute the `ozone debug 
container list` command, it will search for the datanode UUID and the cluster 
ID there, in the VERSION file; nothing else changes. But the datanode UUID and 
the cluster ID will be the same in a particular datanode's all data 
directories. The container listing is not changed by the passed `--path` 
parameter. 
   
   
https://github.com/apache/ozone/blob/d4d90c7d1acbf3c77f50b342e138f9c8fde12039/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/container/ContainerCommands.java#L122-L126
   
   Am I missing something here?


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