[
https://issues.apache.org/jira/browse/HDDS-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16707916#comment-16707916
]
Bharat Viswanadham edited comment on HDDS-864 at 12/3/18 10:41 PM:
-------------------------------------------------------------------
Adding few more comments:
1. getVolumeKey() appending volume name is missing.
2. move() in RDBStore should be modified, as now tables being passed are
TypedTable so it throws an exception as below.
{code:java}
java.io.IOException: Unexpected TableStore Type in source. Expected
RocksDBTable.
at org.apache.hadoop.utils.db.RDBStore.move(RDBStore.java:215)
at org.apache.hadoop.ozone.om.KeyManagerImpl.commitKey(KeyManagerImpl.java:379)
at
org.apache.hadoop.ozone.om.OzoneManager.commitKey(OzoneManager.java:959){code}
was (Author: bharatviswa):
Adding few more comments:
1. getVolumeKey() appending volume name is missing.
> Use strongly typed codec implementations for the tables of the
> OmMetadataManager
> --------------------------------------------------------------------------------
>
> Key: HDDS-864
> URL: https://issues.apache.org/jira/browse/HDDS-864
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: OM
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Attachments: HDDS-864.001.patch, HDDS-864.002.patch
>
>
> HDDS-748 provides a way to use higher level, strongly typed metadata Tables,
> such as Table<String,OmKeyInfo> instead of Table<byte[],byte[]>
> HDDS-748 provides the new TypedTable in this jira I would fix the
> OmMetadataManagerImpl to use the type-safe tables instead of the raw ones.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]