diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index c1d9f0d15a..95046095e5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -986,6 +986,9 @@ Release 2.0.5-beta - UNRELEASED 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 INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh index 41eddff4b0..fb4edd069f 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh @@ -20,7 +20,7 @@ # Optinally upgrade or rollback dfs state. # 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=`cd "$bin"; pwd` @@ -46,6 +46,9 @@ if [ $# -ge 1 ]; then esac fi +#Add other possible options +nameStartOpt="$nameStartOpts $@" + #--------------------------------------------------------- # namenodes