[ 
https://issues.apache.org/jira/browse/HADOOP-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065084#comment-13065084
 ] 

Suresh Srinivas commented on HADOOP-7378:
-----------------------------------------

Comments:
# Requires updating src/documentation/content/xdocs/file_system_shell.xml
# Naming dirRecurse to noDirRecurse or treatDirAsFiles captures the spirit of 
-d flag better. This also avoids negative logic.
# Why do you need to combine setRecurse() with dirRecurse? Can they be left 
independent of each other and dirRecurse overrides the setRecurse() behavior?
# Can you please add a unit test for -d, -R, -d and -R?


> hadoop dfs -ls : Do not expand directories (was HDFS-1475)
> ----------------------------------------------------------
>
>                 Key: HADOOP-7378
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7378
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-7378.patch
>
>
> In a nutshell, ls needs the ability to list a directory but not its contents. 
>  W/o -d, it is impossible to list the root directory's owner, permissions, 
> etc.  See the original hdfs bug for details.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to