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

Weiwei Yang commented on HDFS-12069:
------------------------------------

Patch v1 uploaded. This patch creates an interface for ozone metadata store 
abstraction {{MetadataStore}}, it has defines all necessary APIs to support 
ozone metadata. And {{LevelDBStore}} now implements {{MetadataStore}}.

The goal is to off the hook so that we don't rely on particular DB 
implementation to manage ozone metadata, all the operations should be done from 
the {{MetadataStore}} interface.

Actually to make sure API is complete, I've done more than this patch. I have 
tried to replace all {{LevelDBStore}} references with {{MetadataStore}}, and it 
works out nicely. Please help to review.

Thanks.

> Ozone: Create a general abstraction for metadata store
> ------------------------------------------------------
>
>                 Key: HDFS-12069
>                 URL: https://issues.apache.org/jira/browse/HDFS-12069
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: HDFS-12069-HDFS-7240.001.patch
>
>
> Create a general abstraction for metadata store so that we can plug other key 
> value store to host ozone metadata. Currently only levelDB is implemented, we 
> want to support RocksDB as it provides more production ready features.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to