-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream tests fails to run with “java.lang.UnsatisfiedLinkError: 'long org.rocksdb.LRUCache.newLRUCache(long, int, boolean, double)'” #2550
Labels
Comments
eolivelli
pushed a commit
that referenced
this issue
Jan 28, 2021
Descriptions of the changes in this PR: Fixed tests for /stream, RocksDB initialization. Same as #2551 but for master branch ### Motivation Tests were failing with " “java.lang.UnsatisfiedLinkError: 'long org.rocksdb.LRUCache.newLRUCache(long, int, boolean, double)'”". ### Changes Fixed following suggestion form facebook/rocksdb#6789 Added ` static { RocksDB.loadLibrary(); }` to extract the native library from the jar file etc. Master Issue: #2550 Reviewers: Enrico Olivelli <eolivelli@gmail.com> This closes #2554 from dlg99/master-streams-tests
eolivelli
pushed a commit
that referenced
this issue
Jan 28, 2021
Descriptions of the changes in this PR: Fixed tests for /stream, RocksDB initialization. Same as #2551 but for master branch ### Motivation Tests were failing with " “java.lang.UnsatisfiedLinkError: 'long org.rocksdb.LRUCache.newLRUCache(long, int, boolean, double)'”". ### Changes Fixed following suggestion form facebook/rocksdb#6789 Added ` static { RocksDB.loadLibrary(); }` to extract the native library from the jar file etc. Master Issue: #2550 Reviewers: Enrico Olivelli <eolivelli@gmail.com> This closes #2554 from dlg99/master-streams-tests (cherry picked from commit 73b4cd4) Signed-off-by: Enrico Olivelli <eolivelli@apache.org>
eolivelli
pushed a commit
that referenced
this issue
Jan 28, 2021
Descriptions of the changes in this PR: Fixed tests for /stream, RocksDB initialization. Same as #2551 but for master branch ### Motivation Tests were failing with " “java.lang.UnsatisfiedLinkError: 'long org.rocksdb.LRUCache.newLRUCache(long, int, boolean, double)'”". ### Changes Fixed following suggestion form facebook/rocksdb#6789 Added ` static { RocksDB.loadLibrary(); }` to extract the native library from the jar file etc. Master Issue: #2550 Reviewers: Enrico Olivelli <eolivelli@gmail.com> This closes #2554 from dlg99/master-streams-tests (cherry picked from commit 73b4cd4) Signed-off-by: Enrico Olivelli <eolivelli@apache.org>
eolivelli
pushed a commit
that referenced
this issue
Jan 28, 2021
Descriptions of the changes in this PR: Fixed tests for /stream, RocksDB initialization. Same as #2551 but for master branch ### Motivation Tests were failing with " “java.lang.UnsatisfiedLinkError: 'long org.rocksdb.LRUCache.newLRUCache(long, int, boolean, double)'”". ### Changes Fixed following suggestion form facebook/rocksdb#6789 Added ` static { RocksDB.loadLibrary(); }` to extract the native library from the jar file etc. Master Issue: #2550 Reviewers: Enrico Olivelli <eolivelli@gmail.com> This closes #2554 from dlg99/master-streams-tests (cherry picked from commit 73b4cd4) Signed-off-by: Enrico Olivelli <eolivelli@apache.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BUG REPORT
Describe the bug
Stream tests fails to run with “java.lang.UnsatisfiedLinkError: 'long org.rocksdb.LRUCache.newLRUCache(long, int, boolean, double)'”
To Reproduce
cd bookkeeper/stream/statelib
mvn clean install -DskipTests
mvn test -DstreamTests -Dtest=org.apache.bookkeeper.statelib.impl.rocksdb.checkpoint.RocksCheckpointerTest
Fails to run with “java.lang.UnsatisfiedLinkError: 'long org.rocksdb.LRUCache.newLRUCache(long, int, boolean, double)'”
Expected behavior
test passes
The text was updated successfully, but these errors were encountered: