You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/11/02 12:49:00 UTC
[jira] [Created] (HDDS-795) RocksDb specific classes leak from
DBStore/Table interfaces
Elek, Marton created HDDS-795:
---------------------------------
Summary: RocksDb specific classes leak from DBStore/Table interfaces
Key: HDDS-795
URL: https://issues.apache.org/jira/browse/HDDS-795
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Reporter: Elek, Marton
Assignee: Elek, Marton
org.apache.hadoop.utils.db.RocksDB and Table interfaces provide a vendor-independent way to access any key value store.
The default implementation uses RocksDb but other implementation also could be used (for example an InMemory implementation for testing only).
The current Table interface contains methods which depend on RocksDB specific classes. For example:
{code}
public interface DBStore extends AutoCloseable {
//...
/**
* Return the Column Family handle. TODO: This leaks an RockDB abstraction
* into Ozone code, cleanup later.
*
* @return ColumnFamilyHandle
*/
ColumnFamilyHandle getHandle();
//...
{code}
We need to remove the RocksDB specific classes from the generic interfaces.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org