HADOOP-11898. add nfs3 and portmap starting command in hadoop-daemon.sh in branch-2. Contributed by Brandon Li

This commit is contained in:
Brandon Li 2015-05-05 14:23:13 -07:00
parent f95fd5b6df
commit a9d12128f3
2 changed files with 4 additions and 1 deletions

View File

@ -157,6 +157,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11904. test-patch.sh goes into an infinite loop on non-maven HADOOP-11904. test-patch.sh goes into an infinite loop on non-maven
builds (aw) builds (aw)
HADOOP-11898. add nfs3 and portmap starting command in hadoop-daemon.sh
in branch-2 (brandonli)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -150,7 +150,7 @@ case $startStop in
echo starting $command, logging to $log echo starting $command, logging to $log
cd "$HADOOP_PREFIX" cd "$HADOOP_PREFIX"
case $command in case $command in
namenode|secondarynamenode|datanode|journalnode|dfs|dfsadmin|fsck|balancer|zkfc) namenode|secondarynamenode|datanode|journalnode|dfs|dfsadmin|fsck|balancer|zkfc|portmap|nfs3)
if [ -z "$HADOOP_HDFS_HOME" ]; then if [ -z "$HADOOP_HDFS_HOME" ]; then
hdfsScript="$HADOOP_PREFIX"/bin/hdfs hdfsScript="$HADOOP_PREFIX"/bin/hdfs
else else