Browse Source

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

Vinayakumar B 10 năm trước cách đây
mục cha
commit
3ee1b50dad
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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