[ https://issues.apache.org/jira/browse/HDFS-15133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024869#comment-17024869 ]
hemanthboyina edited comment on HDFS-15133 at 1/28/20 5:40 AM: --------------------------------------------------------------- thanks for the improvements [~maobaolong] {quote}how to implements the method getMapIterator graceful for the RocksInodeStore. {quote} you can use {code:java} RocksDB db = RocksDB.open(new Options(), "/path"); db.newIterator();{code} {quote} Clear method will be implements to reset the rocksdb for the RocksInodeStore. {quote} you should delete all the entries in rocksdb , so we should be deleting using DeleteFilesInRange() some questions 1) how you have linked HeapInodeStore with RocksInodeStore ? 2) any changes in existing INodeMap tree structure ? 3) are you pushing complete INodeMap to RocksDB ? was (Author: hemanthboyina): thanks for the improvements [~maobaolong] {quote}how to implements the method getMapIterator graceful for the RocksInodeStore. {quote} you can use {code:java} RocksDB db = RocksDB.open(new Options(), "/path"); db.newIterator();{code} one question , how you have linked HeapInodeStore with RocksInodeStore ? > Use rocksdb to store NameNode inode and blockInfo > ------------------------------------------------- > > Key: HDFS-15133 > URL: https://issues.apache.org/jira/browse/HDFS-15133 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Affects Versions: 3.3.0 > Reporter: maobaolong > Priority: Major > Attachments: image-2020-01-28-12-30-33-015.png > > > Maybe we don't need checkpoint to a fsimage file, the rocksdb checkpoint can > achieve the same request. > This is ozone and alluxio way to manage meta data of master node. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org