Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
1fbefe586b

+ 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