Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-3624. Improve error message when GC parameters are not set. #947

Merged
merged 1 commit into from
May 20, 2020

Conversation

bharatviswa504
Copy link
Contributor

@bharatviswa504 bharatviswa504 commented May 19, 2020

What changes were proposed in this pull request?

Improve the message printed to console when starting services.
"No '-XX:...' jvm parameters are used. Adding safer GC settings to the HADOOP_OPTS"

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-3624

How was this patch tested?

Tested it with pseudo deployed cluster.

Now with this PR message looks like below.

$ bin/ozone --daemon start scm
No '-XX:...' jvm parameters are set. Adding safer GC settings '-XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled' to the HADOOP_OPTS

Copy link
Contributor

@dineshchitlangia dineshchitlangia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM @bharatviswa504 thanks for improving the messaging.

@dineshchitlangia dineshchitlangia merged commit 2e716a0 into apache:master May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants