[
https://issues.apache.org/jira/browse/SAMZA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151966#comment-14151966
]
Chris Riccomini commented on SAMZA-236:
---------------------------------------
I test your patch with my [latest pull
request|https://github.com/facebook/rocksdb/pull/318]. It worked on my Mac. On
my RHEL box, I got:
{noformat}
:samza-kv-leveldb_2.10:test
getNonExistantIsNull[8] FAILED
java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni4046465896437536234..so:
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by
/tmp/librocksdbjni4046465896437536234..so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at
org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:51)
at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:50)
at org.rocksdb.RocksDB.<clinit>(RocksDB.java:28)
at org.rocksdb.Options.<clinit>(Options.java:17)
at
org.apache.samza.storage.kv.TestKeyValueStores.setup(TestKeyValueStores.scala:65)
{noformat}
> Switch samza-kv to use RocksDB
> ------------------------------
>
> Key: SAMZA-236
> URL: https://issues.apache.org/jira/browse/SAMZA-236
> Project: Samza
> Issue Type: Bug
> Components: kv
> Affects Versions: 0.8.0
> Reporter: Chris Riccomini
> Assignee: Naveen
> Fix For: 0.8.0
>
> Attachments: SAMZA-236.diff
>
>
> The samza-kv implementation is currently using LevelDB. RocksDB seems to have
> a number of interesting options that would be useful to Samza:
> # Ability to swap out skip list for a faster implementation when restoring
> data from a changelog stream.
> # Ability to disable compaction during changelog stream restoration.
> # Ability to have a single level (or single SST) rather than multiple levels
> in order to reduce read amplification.
> # A merge operation for doing lazy read-modify-write during compaction.
> And a lot more.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)