Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
hadoop fs -ls dirname lists the paths in the following manner:
dirname\file1
dirname\file2
Basically, dirname is repeated. This is slightly confusing because you get an impression that there's a dirname directory under the specified input
In contrast, the native ls command doesn't do this.
When given a glob as input, the native ls command prints it out as follows:
dirname1:
file1
dirname2:
file1