[ https://issues.apache.org/jira/browse/HADOOP-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542979 ]
lohit vijayarenu commented on HADOOP-2190: ------------------------------------------ sure, if patch is approved I will make these changes while adding testcase. > dfs ls and lsr commands differ from POSIX standards > --------------------------------------------------- > > Key: HADOOP-2190 > URL: https://issues.apache.org/jira/browse/HADOOP-2190 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.15.1, 0.16.0 > Reporter: Mukund Madhugiri > Fix For: 0.16.0 > > Attachments: HADOOP-2190-1.patch > > > Assuming the dfs commands follow POSIX standards, there are some problems > with the DFS ls and lsr commands. I compared the DFS output with that of > RHEL 4u5 > 1. ls a directory when there are no files/directories in that directory: > Linux: No output > DFS: Found 0 items > 2. ls a file/directory that does not exist: > Linux: ls: /doesnotexist: No such file or directory > DFS: Found 0 items > 3. lsr a directory that does not exist: > Linux: ls: /doesnotexist: No such file or directory > DFS: No output -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.