kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax" <matth...@confluent.io>
Subject Re: Getting java.lang.UnsatisfiedLinkError: Cannot load module /tmp/librocksdbjni858257496864179953.so
Date Fri, 31 Mar 2017 17:39:29 GMT
Cross-posted twice (including an answer):


> I don't understand why i need to re-build this. I downloaded the binaries which already
has this jar pre-packaged. Kindly enlighten me. Thank you in advance.

The prebuild binaries are not compatible with AIX platform.

Note, Kafka Stream officially only supports Linux and even if AIX is a
Unix based system, it's often not compatible and you need different


On 3/31/17 7:12 AM, manish bansal wrote:
> I am using kafka_2.11- I have downloaded the binaries directly
> from apache which contains rocksdbjni-5.0.1.jar. I am developing kafka
> streaming application. It is using RocksDB for internal purpose. However,
> during my application run, getting below error.
> Exception in thread "StreamThread-1" java.lang.UnsatisfiedLinkError:
> /tmp/librocksdbjni858257496864179953.so ( 0509-022 Cannot load module
> /tmp/librocksdbjni858257496864179953.so.
> 0509-026 System error: Cannot run a file that does not have a valid format.)
> at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1213)
> at java.lang.System.load(System.java:517)
> at
> org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
> at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
> at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
> at org.rocksdb.RocksDB.(RocksDB.java:35)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
> at org.rocksdb.Options.(Options.java:22)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
> at
> org.apache.kafka.streams.state.internals.RocksDBStore.openDB(RocksDBStore.java:115)
> Platform: AIX 6.1 64 bit

View raw message