瀏覽代碼

HADOOP-14815. s3guard shell usage calls function incorrectly.
Contributed by Allen Wittenauer

Steve Loughran 7 年之前
父節點
當前提交
6b18a5d6f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hadoop-tools/hadoop-aws/src/main/shellprofile.d/hadoop-s3guard.sh

+ 1 - 1
hadoop-tools/hadoop-aws/src/main/shellprofile.d/hadoop-s3guard.sh

@@ -18,7 +18,7 @@
 if ! declare -f hadoop_subcommand_s3guard >/dev/null 2>/dev/null; then
 
   if [[ "${HADOOP_SHELL_EXECNAME}" = hadoop ]]; then
-    hadoop_add_subcommand "s3guard" "manage metadata on S3"
+    hadoop_add_subcommand "s3guard" client "manage metadata on S3"
   fi
 
   # this can't be indented otherwise shelldocs won't get it