Closed suddendust closed 1 week ago
What do the following Java properties return on your system?
System.getProperty("os.name")
System.getProperty("os.arch")
System.getenv("ROCKSDB_MUSL_LIBC")
You can see how the native library is selected here -https://github.com/facebook/rocksdb/blob/main/java/src/main/java/org/rocksdb/util/Environment.java#L229
@adamretter Thanks for the response. Here's the result of what you requested:
System.getProperty("os.name")
: Linux
System.getProperty("os.arch")
: aarch64
System.getenv("ROCKSDB_MUSL_LIBC")
: null
@suddendust Okay that all looks good so far. We need to exclude Apache pinot here. Can you provide a minimal reproducible test-case using just RocksJava please?
@adamretter This is solved. I was mistakenly overrides os.arch
to aarch_64
instead of aarch64
and this was messing things up š¤¦ I am closing this issue.
I am trying to port my application to
linux/aarch64
(AWS Graviton) and getting the following exception:I am using
rocksdbjni
version8.3.2
. In the unzipped jar, I see that we do have this artifactlibrocksdbjni-linux-aarch64.so
.Expected behavior
This exception should not occur since we have the artifact required for
linux/aarch64
.Actual behavior
The exception above.
Steps to reproduce the behavior
Build https://github.com/apache/pinot on an
linux/aarch64
system using the command:mvn clean install -Dcheckstyle.skip -Dlicense.skip -Dos.arch=aarch_64 -Pbin-dist -U -fn