HADOOP-7162. Rmove a duplicated call FileSystem.listStatus(..) in FsShell. Contributed by Alexey Diomin

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1078148 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2011-03-04 21:41:57 +00:00
parent 1cd6bac5ff
commit f2ff6cca37
2 changed files with 4 additions and 1 deletions

View File

@ -554,6 +554,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

View File

@ -554,7 +554,7 @@ public class FsShell extends Configured implements Tool {
setFileReplication(src, srcFs, newRep, waitingList);
return;
}
FileStatus items[] = srcFs.listStatus(src);
FileStatus items[];
try {
items = srcFs.listStatus(src);
} catch (FileNotFoundException fnfe) {