You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/02 09:05:57 UTC

[GitHub] [pulsar-client-node] equanz commented on pull request #229: Update C++ client version and compatiblity table to v2.10.1

equanz commented on PR #229:
URL: https://github.com/apache/pulsar-client-node/pull/229#issuecomment-1235257092

   In `apachepulsar/pulsar-build:ubuntu-16.04` image, use `-Xlog:gc*:logs/pulsar_gc_%p.log:time,uptime:filecount=10,filesize=20M` option for runtime.
   https://github.com/apache/pulsar/blob/v2.10.1/conf/pulsar_env.sh#L50-L58
   
   However, pulsar command uses `JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64` in runtime.
   https://hub.docker.com/layers/apachepulsar/pulsar-build/ubuntu-16.04/images/sha256-57174595e685002c0e4ce768361af8c10fcf30310f466966c3f8663a8638e4b7?context=explore
   
   ```
   Unrecognized option: -Xlog:gc*:logs/pulsar_gc_%p.log:time,uptime:filecount=10,filesize=20M
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ```
   (The script file was fixed in https://github.com/apache/pulsar/pull/14711 .)
   
   I updated the docker image tag to `ubuntu-20.04` to avoid this issue.
   `JAVA_HOME` was not set in `ubuntu-20.04` image.
   https://hub.docker.com/layers/apachepulsar/pulsar-build/ubuntu-20.04/images/sha256-5f50d029fa6ba5a1d410faf7d4d0539200246572a1459cb6e3cc32219300f591?context=explore
   
   
   
   Also, I modified test scripts to fix the below issue.
   ```
   fatal: unsafe repository ('/pulsar-client-node' is owned by someone else)
   To add an exception for this directory, call:
   
   	git config --global --add safe.directory /pulsar-client-node
   ```


-- 
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: dev-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org