HDFS-6043. Give HDFS daemons NFS3 and Portmap their own OPTS. Contributed by Brandon Li
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1574616 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2e7c512270
commit
8e84dedd4c
|
@ -61,6 +61,9 @@ 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"
|
||||||
|
|
||||||
|
export HADOOP_NFS3_OPTS="$HADOOP_NFS3_OPTS"
|
||||||
|
export HADOOP_PORTMAP_OPTS="-Xmx512m $HADOOP_PORTMAP_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="-Xmx512m $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"
|
||||||
|
|
|
@ -522,6 +522,8 @@ Release 2.4.0 - UNRELEASED
|
||||||
HDFS-5167. Add metrics about the NameNode retry cache. (Tsuyoshi OZAWA via
|
HDFS-5167. Add metrics about the NameNode retry cache. (Tsuyoshi OZAWA via
|
||||||
jing9)
|
jing9)
|
||||||
|
|
||||||
|
HDFS-6043. Give HDFS daemons NFS3 and Portmap their own OPTS (brandonli)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery
|
HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery
|
||||||
|
|
|
@ -154,8 +154,10 @@ elif [ "$COMMAND" = "lsSnapshottableDir" ] ; then
|
||||||
CLASS=org.apache.hadoop.hdfs.tools.snapshot.LsSnapshottableDir
|
CLASS=org.apache.hadoop.hdfs.tools.snapshot.LsSnapshottableDir
|
||||||
elif [ "$COMMAND" = "portmap" ] ; then
|
elif [ "$COMMAND" = "portmap" ] ; then
|
||||||
CLASS=org.apache.hadoop.portmap.Portmap
|
CLASS=org.apache.hadoop.portmap.Portmap
|
||||||
|
HADOOP_OPTS="$HADOOP_OPTS $HADOOP_PORTMAP_OPTS"
|
||||||
elif [ "$COMMAND" = "nfs3" ] ; then
|
elif [ "$COMMAND" = "nfs3" ] ; then
|
||||||
CLASS=org.apache.hadoop.hdfs.nfs.nfs3.Nfs3
|
CLASS=org.apache.hadoop.hdfs.nfs.nfs3.Nfs3
|
||||||
|
HADOOP_OPTS="$HADOOP_OPTS $HADOOP_NFS3_OPTS"
|
||||||
elif [ "$COMMAND" = "cacheadmin" ] ; then
|
elif [ "$COMMAND" = "cacheadmin" ] ; then
|
||||||
CLASS=org.apache.hadoop.hdfs.tools.CacheAdmin
|
CLASS=org.apache.hadoop.hdfs.tools.CacheAdmin
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue