You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ PULSAR_GC=" " JAVA_HOME=/usr/local/openjdk21 bin/pulsar standalone
2024-10-03T23:05:50,125-0700 [main] INFO org.apache.pulsar.PulsarStandalone - Starting BK with RocksDb metadata store
2024-10-03T23:05:50,280-0700 [main] ERROR org.apache.pulsar.PulsarStandaloneStarter - Failed to start pulsar service.
org.apache.pulsar.metadata.api.MetadataStoreException: Failed to load RocksDB JNI library
at org.apache.pulsar.metadata.impl.RocksdbMetadataStore.<init>(RocksdbMetadataStore.java:217) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.metadata.impl.RocksdbMetadataStore.get(RocksdbMetadataStore.java:113) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.metadata.impl.RocksdbMetadataStoreProvider.create(RocksdbMetadataStore.java:607) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl.newInstance(MetadataStoreFactoryImpl.java:63) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.metadata.impl.MetadataStoreFactoryImpl.createExtended(MetadataStoreFactoryImpl.java:50) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.metadata.api.extended.MetadataStoreExtended.create(MetadataStoreExtended.java:42) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.metadata.bookkeeper.BKCluster.<init>(BKCluster.java:138) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.metadata.bookkeeper.BKCluster$BKClusterConf.build(BKCluster.java:122) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
at org.apache.pulsar.PulsarStandalone.startBookieWithMetadataStore(PulsarStandalone.java:471) ~[org.apache.pulsar-pulsar-broker-3.3.1.jar:3.3.1]
at org.apache.pulsar.PulsarStandalone.start(PulsarStandalone.java:302) ~[org.apache.pulsar-pulsar-broker-3.3.1.jar:3.3.1]
at org.apache.pulsar.PulsarStandaloneStarter.start(PulsarStandaloneStarter.java:122) ~[org.apache.pulsar-pulsar-broker-3.3.1.jar:3.3.1]
at org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:179) [org.apache.pulsar-pulsar-broker-3.3.1.jar:3.3.1]
Caused by: java.lang.ExceptionInInitializerError
at org.apache.pulsar.metadata.impl.RocksdbMetadataStore.<init>(RocksdbMetadataStore.java:215) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
... 11 more
Caused by: java.lang.RuntimeException: librocksdbjni-freebsd64.so was not found inside JAR.
at org.rocksdb.NativeLibraryLoader.loadLibraryFromJarToTemp(NativeLibraryLoader.java:118) ~[org.rocksdb-rocksdbjni-7.9.2.jar:?]
at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:102) ~[org.rocksdb-rocksdbjni-7.9.2.jar:?]
at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:82) ~[org.rocksdb-rocksdbjni-7.9.2.jar:?]
at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:70) ~[org.rocksdb-rocksdbjni-7.9.2.jar:?]
at org.rocksdb.RocksDB.<clinit>(RocksDB.java:39) ~[org.rocksdb-rocksdbjni-7.9.2.jar:?]
at org.apache.pulsar.metadata.impl.RocksdbMetadataStore.<init>(RocksdbMetadataStore.java:215) ~[org.apache.pulsar-pulsar-metadata-3.3.1.jar:3.3.1]
... 11 more
We have the rocksdb-jni package that provides rocksdb-9.6.1.jar that contains librocksdbjni.so in its root.
How to make Pulsar to use it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On FreeBSD Pulsar fails at the run-time:
We have the rocksdb-jni package that provides rocksdb-9.6.1.jar that contains librocksdbjni.so in its root.
How to make Pulsar to use it?
Beta Was this translation helpful? Give feedback.
All reactions