[
https://issues.apache.org/jira/browse/HDFS-13622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547079#comment-16547079
]
Xiao Chen commented on HDFS-13622:
----------------------------------
Thanks [~kgyrtkirk] for creating the jira and [~shwetayakkali] for working on
it.
Overall looks good. Review comments:
- I would move the comments into the {{if}} block for clarity
- In the test, we should verify the path in the message is correct. Namely, no
'testChild' (so the test fails before the fix, and passes after)
- Need space around brackets for the line {{if(!createParents){}}
> dfs mkdir should not report the directory which to be created
> -------------------------------------------------------------
>
> Key: HDFS-13622
> URL: https://issues.apache.org/jira/browse/HDFS-13622
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Zoltan Haindrich
> Assignee: Shweta
> Priority: Major
> Attachments: HDFS-13622.02.patch
>
>
> this is a bit misleading:
> {code}
> $ hdfs dfs -mkdir /nonexistent/newdir
> mkdir: `/nonexistent/newdir': No such file or directory
> {code}
> I think this command should fail because "nonexistent" doesn't exists...
> the correct would be:
> {code}
> $ hdfs dfs -mkdir /nonexistent/newdir
> mkdir: `/nonexistent': No such file or directory
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]