HADOOP-9211. Set default max heap size in HADOOP_CLIENT_OPTS to 512m in order to avoid OOME. Contributed by Plamen Jeliazkov.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1467390 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c9b9ebde1d
commit
a24b7fc1a6
|
@ -116,6 +116,9 @@ Release 2.0.5-beta - UNRELEASED
|
||||||
HADOOP-9233. Cover package org.apache.hadoop.io.compress.zlib with unit
|
HADOOP-9233. Cover package org.apache.hadoop.io.compress.zlib with unit
|
||||||
tests (Vadim Bondarev via jlowe)
|
tests (Vadim Bondarev via jlowe)
|
||||||
|
|
||||||
|
HADOOP-9211. Set default max heap size in HADOOP_CLIENT_OPTS to 512m
|
||||||
|
in order to avoid OOME. (Plamen Jeliazkov via shv)
|
||||||
|
|
||||||
Release 2.0.4-alpha - UNRELEASED
|
Release 2.0.4-alpha - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -54,7 +54,7 @@ export HADOOP_DATANODE_OPTS="-Dhadoop.security.logger=ERROR,RFAS $HADOOP_DATANOD
|
||||||
export HADOOP_SECONDARYNAMENODE_OPTS="-Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS} -Dhdfs.audit.logger=${HDFS_AUDIT_LOGGER:-INFO,NullAppender} $HADOOP_SECONDARYNAMENODE_OPTS"
|
export HADOOP_SECONDARYNAMENODE_OPTS="-Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS} -Dhdfs.audit.logger=${HDFS_AUDIT_LOGGER:-INFO,NullAppender} $HADOOP_SECONDARYNAMENODE_OPTS"
|
||||||
|
|
||||||
# The following applies to multiple commands (fs, dfs, fsck, distcp etc)
|
# The following applies to multiple commands (fs, dfs, fsck, distcp etc)
|
||||||
export HADOOP_CLIENT_OPTS="-Xmx128m $HADOOP_CLIENT_OPTS"
|
export HADOOP_CLIENT_OPTS="-Xmx512m $HADOOP_CLIENT_OPTS"
|
||||||
#HADOOP_JAVA_PLATFORM_OPTS="-XX:-UsePerfData $HADOOP_JAVA_PLATFORM_OPTS"
|
#HADOOP_JAVA_PLATFORM_OPTS="-XX:-UsePerfData $HADOOP_JAVA_PLATFORM_OPTS"
|
||||||
|
|
||||||
# On secure datanodes, user to run the datanode as after dropping privileges
|
# On secure datanodes, user to run the datanode as after dropping privileges
|
||||||
|
|
Loading…
Reference in New Issue