[ https://issues.apache.org/jira/browse/HADOOP-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557896#action_12557896 ]
Amar Kamat commented on HADOOP-2575: ------------------------------------ Can you paste the code and which class you are using for executing the shell command. > Shell command ls should support option -d > ----------------------------------------- > > Key: HADOOP-2575 > URL: https://issues.apache.org/jira/browse/HADOOP-2575 > Project: Hadoop > Issue Type: New Feature > Components: fs > Affects Versions: 0.15.2 > Reporter: Hairong Kuang > Fix For: 0.16.0 > > > Shell command "ls" currently does not support option -d. Meanwhile the shell > supports command "stat", but needs to supply the print format specifying > which attributes to print on the screen. It's hard to use and in addition it > does not support printing the file permissions. So I would like to propose > that the shell supports "ls -d" and deprecates the command "stat". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.