Hi, Haiting,

Thanks for your help in validating this candidate.

I think we can support Mac M1 architecture in 2.9.5, but I do not know
the details of how to support it.
I look at some discussions, https://github.com/apache/pulsar/issues/12166.
Maybe we need to upgrade the version of the bookkeeper, I am not sure
whether we should upgrade the bookkeeper in branch-2.9.

Does anyone else have any ideas?

Thanks,
Bo

Haiting Jiang <jianghait...@gmail.com> 于2022年12月24日周六 17:20写道:
>
> Hi Bo,
>
> I started standalone failed with the following errors on M1 mac,
> ```
> 2022-12-24T17:08:58,944+0800 [main] ERROR
> org.apache.pulsar.PulsarStandaloneStarter - Failed to start pulsar
> service.
> java.io.IOException: Failed to load RocksDB JNI library
> at 
> org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.<init>(KeyValueStorageRocksDB.java:98)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at 
> org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.<init>(KeyValueStorageRocksDB.java:89)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at 
> org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.lambda$static$0(KeyValueStorageRocksDB.java:63)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at 
> org.apache.bookkeeper.bookie.storage.ldb.LedgerMetadataIndex.<init>(LedgerMetadataIndex.java:68)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at 
> org.apache.bookkeeper.bookie.storage.ldb.SingleDirectoryDbLedgerStorage.<init>(SingleDirectoryDbLedgerStorage.java:170)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at 
> org.apache.bookkeeper.bookie.storage.ldb.DbLedgerStorage.newSingleDirectoryDbLedgerStorage(DbLedgerStorage.java:150)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at 
> org.apache.bookkeeper.bookie.storage.ldb.DbLedgerStorage.initialize(DbLedgerStorage.java:129)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:818)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:152)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:120)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> at 
> org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble.runBookies(LocalBookkeeperEnsemble.java:317)
> ~[org.apache.pulsar-pulsar-zookeeper-utils-2.9.4.jar:2.9.4]
> at 
> org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble.startStandalone(LocalBookkeeperEnsemble.java:445)
> ~[org.apache.pulsar-pulsar-zookeeper-utils-2.9.4.jar:2.9.4]
> at org.apache.pulsar.PulsarStandalone.start(PulsarStandalone.java:269)
> ~[org.apache.pulsar-pulsar-broker-2.9.4.jar:2.9.4]
> at 
> org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:131)
> ~[org.apache.pulsar-pulsar-broker-2.9.4.jar:2.9.4]
> Caused by: java.lang.UnsatisfiedLinkError: Can't load library:
> /var/folders/s5/_2d9_ks57dz7l4xrmks4_90m0000gn/T/librocksdbjni4924275037569143428.jnilib
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2633) ~[?:?]
> at java.lang.Runtime.load0(Runtime.java:768) ~[?:?]
> at java.lang.System.load(System.java:1837) ~[?:?]
> at 
> org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:79)
> ~[org.rocksdb-rocksdbjni-6.16.4.jar:?]
> at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:57)
> ~[org.rocksdb-rocksdbjni-6.16.4.jar:?]
> at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:69)
> ~[org.rocksdb-rocksdbjni-6.16.4.jar:?]
> at org.rocksdb.RocksDB.<clinit>(RocksDB.java:38)
> ~[org.rocksdb-rocksdbjni-6.16.4.jar:?]
> at 
> org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.<init>(KeyValueStorageRocksDB.java:96)
> ~[org.apache.bookkeeper-bookkeeper-server-4.14.5.jar:4.14.5]
> ... 13 more
>
> ```
> I am not sure if we have consensus on the minimal pulsar version to
> support Mac M1 architecture.
>
> Thanks,
> Haiting
>
> On Wed, Dec 21, 2022 at 7:17 PM Yunze Xu <y...@streamnative.io.invalid> wrote:
> >
> > +1 (non-binding)
> >
> > - Checked the signature
> > - Build from source
> > - Start standalone with KoP 2.9.3.20
> > - Verified Pulsar client 2.9.4, master (05e6f5e3), and Kafka clients
> > 3.3.1 (through KoP)
> >
> > Thanks,
> > Yunze
> >
> > On Mon, Dec 19, 2022 at 11:13 AM Xiangying Meng <xiangy...@apache.org> 
> > wrote:
> > >
> > > +1 (non-binding)
> > >
> > > - Start standalone
> > > - Validate Pub/Sub and Java Functions
> > > - Validate Cassandra connector
> > > - Validate Stateful Functions
> > >
> > > Thanks,
> > > Xiangying
> > >
> > > On Thu, Dec 15, 2022 at 10:25 AM PengHui Li <peng...@apache.org> wrote:
> > >
> > > > +1 (binding)
> > > >
> > > > - Checked the signature
> > > > - Start standalone
> > > > - Publish and consume messages
> > > > - Verified Function and State Function
> > > > - Verified Cassandra connector
> > > > - Build from the source package
> > > >
> > > > Thanks,
> > > > Penghui
> > > >
> > > > On Tue, Dec 13, 2022 at 7:49 PM 丛搏 <bog...@apache.org> wrote:
> > > >
> > > > > This is the third release candidate for Apache Pulsar, version 2.9.4.
> > > > >
> > > > >
> > > > > This release contains 319 commits by 69 contributors.
> > > > > https://github.com/apache/pulsar/compare/v2.9.3...v2.9.4-candidate-3
> > > > >
> > > > > *** Please download, test and vote on this release. This vote will 
> > > > > stay
> > > > > open
> > > > > for at least 72 hours ***
> > > > >
> > > > > Note that we are voting upon the source (tag), binaries are provided 
> > > > > for
> > > > > convenience.
> > > > >
> > > > > Source and binary files:
> > > > > https://dist.apache.org/repos/dist/dev/pulsar/pulsar-2.9.4-candidate-3/
> > > > >
> > > > > SHA-512 checksums:
> > > > >
> > > > >
> > > > 85cd920c8fedcec2551867e1ea89052c8578634e95226f92c4114d17587e7d2821f8033ef6fc70103e0b21dd3f8f9b907c68209cdc2cb74eca08f0a3ae6bd98c
> > > > >  apache-pulsar-2.9.4-bin.tar.gz
> > > > >
> > > > >
> > > > da6ee53ffc66e4d9f60c74935c3ed0d85b26f5a629cb50fdfc02f535d66492297932256e4e44c8d4a08d20a85c4f490b7d7b3e169756bc246690bedfe582892b
> > > > >  apache-pulsar-2.9.4-src.tar.gz
> > > > >
> > > > > Maven staging repo:
> > > > > https://repository.apache.org/content/repositories/orgapachepulsar-1198/
> > > > >
> > > > > The tag to be voted upon:
> > > > > v2.9.4-candidate-3 (e949f18a20c6f8f5b6f326cd4afb814d0fb3b8be)
> > > > > https://github.com/apache/pulsar/releases/tag/v2.9.4-candidate-3
> > > > >
> > > > > Pulsar's KEYS file containing PGP keys you use to sign the release:
> > > > > https://dist.apache.org/repos/dist/dev/pulsar/KEYS
> > > > >
> > > > > Docker images:
> > > > >
> > > > > <link of the pulsar images>
> > > > >
> > > > >
> > > > https://hub.docker.com/layers/congbobo184/pulsar/2.9.4/images/sha256-72272e9b7ce5c568575bacbddf7565fd570d27b486f2f47cafaa0938ec56e1ef
> > > > >
> > > > > <link of the pulsar-all image>
> > > > >
> > > > >
> > > > https://hub.docker.com/layers/congbobo184/pulsar-all/2.9.4/images/sha256-c17d42831a882028996627abe56e71e067b905fdaac91ca3bdc933d51ce5b73b
> > > > >
> > > > >
> > > > > Please download the source package, and follow the README to build
> > > > > and run the Pulsar standalone service.
> > > > >
> > > >

Reply via email to