Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
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:
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(); //...
We need to remove the RocksDB specific classes from the generic interfaces.
Attachments
Attachments
Issue Links
- blocks
-
HDDS-748 Use strongly typed metadata Table implementation
- Resolved