HADOOP-10531. hadoop-config.sh - bug in --hosts argument. Contributed by Sebastien Barrier.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1589530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Wang 2014-04-23 22:36:12 +00:00
parent 53cb787d48
commit 74b4719698
2 changed files with 4 additions and 1 deletions

View File

@ -404,6 +404,9 @@ Release 2.5.0 - UNRELEASED
HADOOP-10251. Both NameNodes could be in STANDBY State if SNN network is unstable HADOOP-10251. Both NameNodes could be in STANDBY State if SNN network is unstable
(Vinayakumar B via umamahesh) (Vinayakumar B via umamahesh)
HADOOP-10531. hadoop-config.sh - bug in --hosts argument.
(Sebastien Barrier via wang)
Release 2.4.1 - UNRELEASED Release 2.4.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -97,7 +97,7 @@ then
if [ "--hosts" = "$1" ] if [ "--hosts" = "$1" ]
then then
shift shift
export HADOOP_SLAVES="${HADOOP_CONF_DIR}/$$1" export HADOOP_SLAVES="${HADOOP_CONF_DIR}/$1"
shift shift
elif [ "--hostnames" = "$1" ] elif [ "--hostnames" = "$1" ]
then then