smengcl commented on PR #5920:
URL: https://github.com/apache/ozone/pull/5920#issuecomment-1887902810

   > Right now this is returning object IDs in the path of the keys, which were 
previously only internal to OM. What is the expected use of this CLI? If it is 
to do some sort of file close/reclamation based on key name the current paths 
returned will not help. Alternatively, providing the actual full paths may be 
problematic because keys can remain open after their parent directories or 
buckets are deleted, and only the final commit will fail.
   
   At the beginning I figure this command is just supposed to return what is 
there in the `OpenKey(File)Table`. Then it gets complicated.
   
   I think just like hdfs's, this command is mostly for admins to get a rough 
idea of how many files are open, and which ones. Thus human-readable output is 
important. JSON output might be used for scripting. The `OmKeyInfo` is there 
tho I think most of the fields may not be very useful, but its what 
`OpenKey(File)Table` has.
   
   We could also return the `dbKey` of `OpenKey(File)Table` if that becomes 
useful. @jojochuang 


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