[ https://issues.apache.org/jira/browse/ATLAS-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285185#comment-17285185 ]
Martin Tzvetanov Grigorov commented on ATLAS-4159: -------------------------------------------------- Thanks for the suggestion, [~nixon] ! I use Ubuntu 20.04.2 LTS with ARM64 CPU (HiSilicon Kunpeng 920). The JDK/JVM (1.8.0_282) runs just fine! The problem was the old version of RocksDB (transitive dependency of Apache Storm Core). > Build failure on ARM64 > ---------------------- > > Key: ATLAS-4159 > URL: https://issues.apache.org/jira/browse/ATLAS-4159 > Project: Atlas > Issue Type: Bug > Components: storm-integration > Reporter: Martin Tzvetanov Grigorov > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Apache Atlas build fails on ARM64/AARCH64 machines with: > > {code:java} > INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test) @ > storm-bridge --- > [WARNING] useSystemClassloader setting has no effect when not forking > [INFO] Failsafe report directory: > /home/ubuntu/git/apache/atlas/addons/storm-bridge/target/failsafe-reports > Running org.apache.atlas.storm.hook.StormAtlasHookIT > Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 2.758 sec <<< > FAILURE! - in org.apache.atlas.storm.hook.StormAtlasHookIT > setUp(org.apache.atlas.storm.hook.StormAtlasHookIT) Time elapsed: 2.686 sec > <<< FAILURE! > java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni7739762391070118246.so: > /tmp/librocksdbjni7739762391070118246.so: cannot open shared object file: No > such file or directory (Possible cause: can't load AMD 64-bit .so on a > AARCH64-bit platform) > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817) > at java.lang.Runtime.load0(Runtime.java:810) > at java.lang.System.load(System.java:1088) > 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.<clinit>(RocksDB.java:35) > at > org.apache.storm.metricstore.rocksdb.RocksDbStore.prepare(RocksDbStore.java:67) > at > org.apache.storm.metricstore.MetricStoreConfig.configure(MetricStoreConfig.java:33) > at org.apache.storm.daemon.nimbus.Nimbus.<init>(Nimbus.java:531) > at org.apache.storm.LocalCluster.<init>(LocalCluster.java:244) > at org.apache.storm.LocalCluster.<init>(LocalCluster.java:126) > at org.apache.storm.LocalCluster$Builder.build(LocalCluster.java:1234) > at org.apache.storm.Testing.getLocalCluster(Testing.java:231) > at > org.apache.atlas.storm.hook.StormTestUtil.createLocalStormCluster(StormTestUtil.java:45) > at > org.apache.atlas.storm.hook.StormAtlasHookIT.setUp(StormAtlasHookIT.java:53) > Results :Failed tests: > StormAtlasHookIT.setUp:53 » UnsatisfiedLink > /tmp/librocksdbjni7739762391070118... > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)