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:
parent
1cd6bac5ff
commit
f2ff6cca37
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue