diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index ddbf3809dfd..b7936d37e5c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -246,6 +246,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 41eddff4b05..fb4edd069fe 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