Cross-posted twice (including an answer):

https://github.com/facebook/rocksdb/issues/2071
http://stackoverflow.com/questions/43140522/exception-in-thread-streamthread-1-java-lang-unsatisfiedlinkerror-cannot-load

> 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
binaries.



-Matthias

On 3/31/17 7:12 AM, manish bansal wrote:
> I am using kafka_2.11-0.10.2.0. 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
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to