Browse Source

HDFS-8226. Non-HA rollback compatibility broken (Contributed by J.Andreina)
Added one missed change, missed while resolving conflict

(cherry picked from commit 3ee1b50dad9604bd959adbae472813f4bdf2fec7)

Vinayakumar B 10 years ago
parent
commit
1fbefe586b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh

+ 2 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh

@@ -41,7 +41,8 @@ if [[ $# -ge 1 ]]; then
       dataStartOpt="$startOpt"
     ;;
     *)
-      hadoop_exit_with_usage 1
+      echo $usage
+      exit 1
     ;;
   esac
 fi