hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r1078150 - in /hadoop/common/branches/branch-0.21: CHANGES.txt src/java/org/apache/hadoop/fs/FsShell.java
Date Fri, 04 Mar 2011 21:42:51 GMT
Author: szetszwo
Date: Fri Mar  4 21:42:51 2011
New Revision: 1078150

URL: http://svn.apache.org/viewvc?rev=1078150&view=rev
Log:
HADOOP-7162. Rmove a duplicated call FileSystem.listStatus(..) in FsShell.  Contributed by
Alexey Diomin

Modified:
    hadoop/common/branches/branch-0.21/CHANGES.txt
    hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/fs/FsShell.java

Modified: hadoop/common/branches/branch-0.21/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/CHANGES.txt?rev=1078150&r1=1078149&r2=1078150&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.21/CHANGES.txt Fri Mar  4 21:42:51 2011
@@ -35,6 +35,9 @@ Release 0.21.1 - Unreleased
 
     HADOOP-7120. Fix a syntax error in test-patch.sh.  (szetszwo)
 
+    HADOOP-7162. Rmove a duplicated call FileSystem.listStatus(..) in FsShell.
+    (Alexey Diomin via szetszwo)
+
 Release 0.21.0 - 2010-08-13
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/fs/FsShell.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/fs/FsShell.java?rev=1078150&r1=1078149&r2=1078150&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/fs/FsShell.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/fs/FsShell.java Fri Mar
 4 21:42:51 2011
@@ -539,7 +539,7 @@ public class FsShell extends Configured 
       setFileReplication(src, srcFs, newRep, waitingList);
       return;
     }
-    FileStatus items[] = srcFs.listStatus(src);
+    FileStatus items[];
     try {
       items = srcFs.listStatus(src);
     } catch (FileNotFoundException fnfe) {



Mime
View raw message