[ https://issues.apache.org/jira/browse/HDDS-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16751450#comment-16751450 ]
Bharat Viswanadham commented on HDDS-936: ----------------------------------------- I think we can have a server in OM end, that listens to client requests for mapping between the key to containers and blocks, and container to ozone objects and blocks. 1. First Part get the key to Container and block Info, can get easily by reading the keyTable (as this server is on OM end, we don't need a copy of the DB to another location) 2. For this we need to have read entire DB, then only we can provide the information which is not feasible for every CLI request, we can make use of rocksdb snapshots here and read the data every configured interval and update our data structures. > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org