HADOOP-8691. FsShell can print "Found xxx items" unnecessarily often. Contributed By Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1574261 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
291dbc3d27
commit
53768eccf3
@ -358,6 +358,9 @@ Release 2.4.0 - UNRELEASED
|
|||||||
HADOOP-10314. The ls command help still shows outdated 0.16 format.
|
HADOOP-10314. The ls command help still shows outdated 0.16 format.
|
||||||
(Rushabh S Shah via kihwal)
|
(Rushabh S Shah via kihwal)
|
||||||
|
|
||||||
|
HADOOP-8691. FsShell can print "Found xxx items" unnecessarily often.
|
||||||
|
(Daryn Sharp via wheat9)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
@ -104,7 +104,7 @@ protected void processPathArgument(PathData item) throws IOException {
|
|||||||
@Override
|
@Override
|
||||||
protected void processPaths(PathData parent, PathData ... items)
|
protected void processPaths(PathData parent, PathData ... items)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
if (!isRecursive() && items.length != 0) {
|
if (parent != null && !isRecursive() && items.length != 0) {
|
||||||
out.println("Found " + items.length + " items");
|
out.println("Found " + items.length + " items");
|
||||||
}
|
}
|
||||||
adjustColumnWidths(items);
|
adjustColumnWidths(items);
|
||||||
|
Loading…
Reference in New Issue
Block a user