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

maobaolong commented on HDFS-15133:
-----------------------------------

[~hemanthboyina] Thank you for your help. 

- I found the TypedTable.iterator of HDDS can call RocksDB. newIterator() 
Indirectly.
- Yeah, i agree with "delete all the entries in rocksdb , so we should be 
deleting using DeleteFilesInRange()"

Answer your question
1) HeapInodeStore and RocksInodeStore are the two independent implementation of 
InodeStore, so there are no link between HeapInodeStore with RocksInodeStore.
2) No changes INodeMap tree structure, i honor the origin structure.
3) I think InodeMap is a manage class, the true structure for the store inode 
is the member InodeMap.map, I think all inode in this container, so i try to 
put all of the inode into the rocksdb by replace the InodeMap.map into a 
inodestore.

Finally I am not sure i explain exactly, so please see my commit diff of 
rocks-metastore branch, my repo is https://github.com/maobaolong/hadoop.


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to