Hemanth Yamijala created HADOOP-8788:
----------------------------------------
Summary: hadoop fs -ls can print file paths according to the
native ls command
Key: HADOOP-8788
URL: https://issues.apache.org/jira/browse/HADOOP-8788
Project: Hadoop Common
Issue Type: Improvement
Components: fs
Reporter: Hemanth Yamijala
Priority: Minor
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira