HDFS-4533. start-dfs.sh ignores additional parameters besides -upgrade. Contributed by Fengdong Yu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1481178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2013-05-10 20:23:24 +00:00
parent b9a0286223
commit b1603b44c5
2 changed files with 7 additions and 1 deletions

View File

@ -986,6 +986,9 @@ Release 2.0.5-beta - UNRELEASED
HDFS-4751. TestLeaseRenewer#testThreadName flakes. (Andrew Wang via atm) HDFS-4751. TestLeaseRenewer#testThreadName flakes. (Andrew Wang via atm)
HDFS-4533. start-dfs.sh ignores additional parameters besides -upgrade.
(Fengdong Yu via suresh)
Release 2.0.4-alpha - 2013-04-25 Release 2.0.4-alpha - 2013-04-25
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -20,7 +20,7 @@
# Optinally upgrade or rollback dfs state. # Optinally upgrade or rollback dfs state.
# Run this on master node. # Run this on master node.
usage="Usage: start-dfs.sh [-upgrade|-rollback]" usage="Usage: start-dfs.sh [-upgrade|-rollback] [other options such as -clusterId]"
bin=`dirname "${BASH_SOURCE-$0}"` bin=`dirname "${BASH_SOURCE-$0}"`
bin=`cd "$bin"; pwd` bin=`cd "$bin"; pwd`
@ -46,6 +46,9 @@ if [ $# -ge 1 ]; then
esac esac
fi fi
#Add other possible options
nameStartOpt="$nameStartOpts $@"
#--------------------------------------------------------- #---------------------------------------------------------
# namenodes # namenodes