Skip to content
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

[Bug]: RocksDB JNI version doesn't support Apple Silicon/M1 chip #1194

Closed
1 task done
XBaith opened this issue Mar 6, 2023 · 3 comments · Fixed by #1752
Closed
1 task done

[Bug]: RocksDB JNI version doesn't support Apple Silicon/M1 chip #1194

XBaith opened this issue Mar 6, 2023 · 3 comments · Fixed by #1752
Labels
priority:minor type:bug Something isn't working

Comments

@XBaith
Copy link
Contributor

XBaith commented Mar 6, 2023

What happened?

Cannot run rocksdb map locally on M1 chip(arm64)

Affects Versions

master

What engines are you seeing the problem on?

Core, AMS

How to reproduce

mvn test

Relevant log output

[ERROR] Errors:
[ERROR] TaskReaderTest.testReadNegateWithSpillMap:259 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] TaskReaderTest.testReadWithSpillMap:100 » UnsatisfiedLink /private/var/folders/kg/hplq6w3n2mz69s42bnpl_lq40000gn/T/librocksdbjni6521898922061163736.jnilib: dlopen(/private/var/folders/kg/hplq6w3n2mz69s42bnpl_lq40000gn/T/librocksdbjni6521898922061163736.jnilib, 0x0001): tried: '/private/var/folders/kg/hplq6w3n2mz69s42bnpl_lq40000gn/T/librocksdbjni6521898922061163736.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/kg/hplq6w3n2mz69s42bnpl_lq40000gn/T/librocksdbjni6521898922061163736.jnilib' (no such file), '/private/var/folders/kg/hplq6w3n2mz69s42bnpl_lq40000gn/T/librocksdbjni6521898922061163736.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
[ERROR] TestRocksDBBackend.testAddAndDropColumnFamily:25 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] TestRocksDBBackend.testClose:90 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] TestRocksDBBackend.testIterator:62 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] TestRocksDBBackend.testPutGetDelete:35 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] TestSimpleSpillableMap.testSpillableMap:44->testMap:58 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] TestSimpleSpillableMap.testSpilledMap:37->testMap:58 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] com.netease.arctic.utils.map.TestSimpleSpilledMap.testPutGetRemove
[ERROR] Run 1: TestSimpleSpilledMap.createMap:21 » NoClassDefFound Could not initialize class org.rocksdb.DBOptions
[ERROR] Run 2: TestSimpleSpilledMap.disposeMap:26 NullPointer

Anything else

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@XBaith XBaith added the type:bug Something isn't working label Mar 6, 2023
@XBaith
Copy link
Contributor Author

XBaith commented Mar 6, 2023

facebook/rocksdb#7720

@shidayang
Copy link
Contributor

Would you like to fix this?

@XBaith
Copy link
Contributor Author

XBaith commented Mar 14, 2023

Would you like to fix this?

I can help fix this when I have time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:minor type:bug Something isn't working
Projects
None yet
3 participants