Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

A bug occurs in centos8_aarch64 during the test when test: jstorm nimbus about jstorm@2.4.0 #683

Open
Tom-python0121 opened this issue Sep 7, 2022 · 0 comments

Comments

@Tom-python0121
Copy link

Tom-python0121 commented Sep 7, 2022

hello,I meet a problem:A bug occurs in centos8_aarch64 during the test when test: jstorm nimbus about jstorm@2.4.0

Steps to reproduce the issue

[root@localhost jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp]# jstorm nimbus &
[1] 3408613
[root@localhost jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp]# /home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/openjdk-1.8.0_191-b12-2pvowqoqg3nu7kwaohs6rux7tpwftzwy/bin/java

Running: java -server -Djstorm.home=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp -Dstorm.options= -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib:/home/admin/jstorm/lib  -Xms4g -Xmx4g -Xmn1536m -XX:PermSize=256m  -XX:SurvivorRatio=4 -XX:+UseConcMarkSweepGC  -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:CMSFullGCsBeforeCompaction=5 -XX:+HeapDumpOnOutOfMemoryError -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=100M -XX:+UseCMSCompactAtFullCollection -XX:CMSMaxAbortablePrecleanTime=5000  -Xloggc:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/logs/nimbus-gc-1662540479.log -Dlogfile.name=nimbus.log -Dlogback.configurationFile=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/conf/jstorm.logback.xml -Djstorm.log.dir=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/logs  -cp /home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/conf:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/ext//*::/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/jstorm-core-2.4.0.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/clojure-1.6.0.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/commons-logging-1.1.3.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/log4j-over-slf4j-1.7.21.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/logback-classic-1.0.13.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/logback-core-1.0.13.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/netty-3.9.9.Final.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/rocksdbjni-4.3.1.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/servlet-api-2.5.jar:/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/jstorm-2.4.0-zgkab6jmuckygnqn5cbqi4hnz3hbddzp/lib/slf4j-api-1.7.21.jar com.alibaba.jstorm.daemon.nimbus.NimbusServer
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: CMSFullGCsBeforeCompaction is deprecated and will likely be removed in a future release.
[root@localhost logs]# cat nimbus.log
……
[INFO 2022-09-07 16:48:13 c.a.j.c.DefaultWatcherCallBack:39 main-EventThread] Zookeeper state update::connected,:none,null
[INFO 2022-09-07 16:48:13 c.a.j.c.DistributedClusterState:81 main-EventThread] Received event SyncConnected:None:null
[INFO 2022-09-07 16:48:13 c.a.j.d.n.NimbusCache:74 main] NimbusCache db cache will use com.alibaba.jstorm.cache.RocksDBCache
[ERROR 2022-09-07 16:48:13 c.a.j.d.n.NimbusServer:130 main] Fail to run nimbus
java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni5554074585102962899..so: /tmp/librocksdbjni5554074585102962899..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) ~[na:1.8.0_191]
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[na:1.8.0_191]
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[na:1.8.0_191]
        at java.lang.Runtime.load0(Runtime.java:809) ~[na:1.8.0_191]
        at java.lang.System.load(System.java:1086) ~[na:1.8.0_191]
        at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:105) ~[rocksdbjni-4.3.1.jar:na]
        at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56) ~[rocksdbjni-4.3.1.jar:na]
        at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:47) ~[rocksdbjni-4.3.1.jar:na]
        at org.rocksdb.RocksDB.<clinit>(RocksDB.java:23) ~[rocksdbjni-4.3.1.jar:na]
        at com.alibaba.jstorm.cache.RocksDBCache.<clinit>(RocksDBCache.java:42) ~[jstorm-core-2.4.0.jar:na]
        at java.lang.Class.forName0(Native Method) ~[na:1.8.0_191]
        at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_191]
        at backtype.storm.utils.Utils.newInstance(Utils.java:120) ~[jstorm-core-2.4.0.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusCache.<init>(NimbusCache.java:77) ~[jstorm-core-2.4.0.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusData.createCache(NimbusData.java:250) ~[jstorm-core-2.4.0.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusData.<init>(NimbusData.java:147) ~[jstorm-core-2.4.0.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusServer.createNimbusData(NimbusServer.java:215) [jstorm-core-2.4.0.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusServer.launchServer(NimbusServer.java:114) [jstorm-core-2.4.0.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusServer.main(NimbusServer.java:92) [jstorm-core-2.4.0.jar:na]
[INFO 2022-09-07 16:48:13 c.a.j.d.n.NimbusServer:335 main] Notify to quit nimbus
[INFO 2022-09-07 16:48:13 c.a.j.d.n.NimbusServer:135 main] Quit nimbus
[INFO 2022-09-07 16:48:13 c.a.j.d.n.NimbusServer:335 Thread-0] Notify to quit nimbus

You know how to fix this? Check whether the test does not support the Aarch64 platform.
It is similar to: alibaba/nacos#4253

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant