tisonkun commented on code in PR #17669: URL: https://github.com/apache/pulsar/pull/17669#discussion_r973687982
########## README.md: ########## @@ -138,6 +138,47 @@ Requirements: > Note: this project includes a [Maven > Wrapper](https://maven.apache.org/wrapper/) that can be used instead of a > system installed Maven. > Use it by replacing `mvn` by `./mvnw` on Linux and `mvnw.cmd` on Windows in > the commands below. +### Install JDK on M1 +In the current version, Pulsar uses a BookKeeper version which in turn uses RocksDB. RocksDB is compiled to work on x86 architecture and not ARM. Therefore, Pulsar can only work with x86 JDK. This is planned to be fixed in future versions of Pulsar. Review Comment: This doesn't stand any more on the nightly version. See also https://github.com/apache/pulsar/issues/12166#issuecomment-1237601981. I agree that there can be a few troubleshooting to work on a different environment with older version, and I'd prefer a discussion thread or a mac specific section like [Hadoop does](https://github.com/apache/hadoop/blob/a73c4804d882d9bc1a424080f20c4902cb9db832/BUILDING.txt#L389-L418) (but still, on < 2.10 branches?). ########## README.md: ########## @@ -138,6 +138,47 @@ Requirements: > Note: this project includes a [Maven > Wrapper](https://maven.apache.org/wrapper/) that can be used instead of a > system installed Maven. > Use it by replacing `mvn` by `./mvnw` on Linux and `mvnw.cmd` on Windows in > the commands below. +### Install JDK on M1 +In the current version, Pulsar uses a BookKeeper version which in turn uses RocksDB. RocksDB is compiled to work on x86 architecture and not ARM. Therefore, Pulsar can only work with x86 JDK. This is planned to be fixed in future versions of Pulsar. Review Comment: This doesn't stand any more on the nightly version. See also https://github.com/apache/pulsar/issues/12166#issuecomment-1237601981. I agree that there can be a few troubleshooting to work on a different environment with older version, and I'd prefer a discussion thread or a mac specific section like [Hadoop does](https://github.com/apache/hadoop/blob/a73c4804d882d9bc1a424080f20c4902cb9db832/BUILDING.txt#L389-L418) (but still, on <= 2.10 branches?). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
