Kaynağa Gözat

HADOOP-2620. Trivial. 'bin/hadoop fs -help' did not list chmod, chown, and
chgrp. (Raghu Angadi)



git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@612561 13f79535-47bb-0310-9956-ffa450edef68

Raghu Angadi 17 yıl önce
ebeveyn
işleme
2fee6f8e32
2 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 3 0
      CHANGES.txt
  2. 6 0
      src/java/org/apache/hadoop/fs/FsShell.java

+ 3 - 0
CHANGES.txt

@@ -461,6 +461,9 @@ Trunk (unreleased changes)
 
     HADOOP-2605. Remove bogus leading slash in task-tracker report bindAddress.
     (Konstantin Shvachko)
+    
+    HADOOP-2620. Trivial. 'bin/hadoop fs -help' did not list chmod, chown, and
+    chgrp. (Raghu Angadi)
 
 Release 0.15.3 - 2008-01-18
 

+ 6 - 0
src/java/org/apache/hadoop/fs/FsShell.java

@@ -1143,6 +1143,9 @@ public class FsShell extends Configured implements Tool {
       "[-mkdir <path>] [-report] [" + SETREP_SHORT_USAGE + "]\n\t" +
       "[-touchz <path>] [-test -[ezd] <path>] [-stat [format] <path>]\n\t" +
       "[-tail [-f] <path>] [-text <path>]\n\t" +
+      "[" + FsShellPermissions.CHMOD_USAGE + "]\n\t" +
+      "[" + FsShellPermissions.CHOWN_USAGE + "]\n\t" +
+      "[" + FsShellPermissions.CHGRP_USAGE + "]\n\t" +      
       "[-help [cmd]]\n";
 
     String conf ="-conf <configuration file>:  Specify an application configuration file.";
@@ -1359,6 +1362,9 @@ public class FsShell extends Configured implements Tool {
       System.out.println(moveToLocal);
       System.out.println(mkdir);
       System.out.println(setrep);
+      System.out.println(chmod);
+      System.out.println(chown);      
+      System.out.println(chgrp);
       System.out.println(help);
     }