You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/11/07 15:15:17 UTC
[GitHub] mikewalch edited a comment on issue #746: Make use of
JAVA_TOOL_OPTIONS in accumulo-env.sh
mikewalch edited a comment on issue #746: Make use of JAVA_TOOL_OPTIONS in accumulo-env.sh
URL: https://github.com/apache/accumulo/issues/746#issuecomment-436386466
Setting `JAVA_TOOL_OPTIONS` causes a debug message that looks like it cannot be suppressed.
```bash
$ accumulo version
Picked up JAVA_TOOL_OPTIONS: -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+CMSClassUnloadingEnabled
2.0.0-SNAPSHOT
```
Another way to show this:
```bash
$ JAVA_TOOL_OPTIONS="-XX:+UseConcMarkSweepGC" java -version
Picked up JAVA_TOOL_OPTIONS: -XX:+UseConcMarkSweepGC
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu0.16.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
```
I am not a fan of this message. However, it looks like it can easily be suppressed.
https://stackoverflow.com/questions/11683715/suppressing-the-picked-up-java-options-message
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services