[
https://issues.apache.org/jira/browse/HADOOP-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568752#action_12568752
]
lohit vijayarenu commented on HADOOP-2195:
------------------------------------------
+1 checking before invoking mkdir sounds reasonable.
> dfs mkdir command differs from POSIX standards
> ----------------------------------------------
>
> Key: HADOOP-2195
> URL: https://issues.apache.org/jira/browse/HADOOP-2195
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1, 0.16.0
> Reporter: Mukund Madhugiri
> Assignee: Mahadev konar
> Attachments: Hadoop-2195_1.patch
>
>
> Assuming the dfs commands follow POSIX standards, there are some problems
> with the DFS mkdir command. I compared the DFS output with that of RHEL 4u5:
> 1. mkdir a directory that exists:
> Linux: mkdir: cannot create directory `test': File exists
> DFS: No output
> 2. mkdir a directory with the name of a file that already exists:
> - Linux: mkdir: `test/one' exists but is not a directory
> - DFS: mkdir: java.io.IOException: Invalid directory name: <home
> directory>/test/one
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.