This is an automated email from the ASF dual-hosted git repository.
dineshc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 2e716a0 HDDS-3624. Improve error message when GC parameters are not
set. (#947)
2e716a0 is described below
commit 2e716a0cc374daa8827705494e45c6232f69661d
Author: Bharat Viswanadham <[email protected]>
AuthorDate: Wed May 20 11:14:58 2020 -0700
HDDS-3624. Improve error message when GC parameters are not set. (#947)
---
hadoop-ozone/dist/src/shell/hdds/hadoop-functions.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-ozone/dist/src/shell/hdds/hadoop-functions.sh
b/hadoop-ozone/dist/src/shell/hdds/hadoop-functions.sh
index 0c45829..937f266 100755
--- a/hadoop-ozone/dist/src/shell/hdds/hadoop-functions.sh
+++ b/hadoop-ozone/dist/src/shell/hdds/hadoop-functions.sh
@@ -1551,7 +1551,7 @@ function hadoop_add_default_gc_opts
{
if [[ "${HADOOP_SUBCMD_SUPPORTDAEMONIZATION}" == true ]]; then
if [[ ! "$HADOOP_OPTS" =~ "-XX" ]] ; then
- hadoop_error "No '-XX:...' jvm parameters are used. Adding safer GC
settings to the HADOOP_OPTS"
+ hadoop_error "No '-XX:...' jvm parameters are set. Adding safer GC
settings '-XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled' to the
HADOOP_OPTS"
HADOOP_OPTS="${HADOOP_OPTS} -XX:ParallelGCThreads=8
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70
-XX:+CMSParallelRemarkEnabled"
fi
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]