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

Kan Zhang commented on HADOOP-6271:
-----------------------------------

> Would it be better to construct newOpts with the same length as opts and set 
> the permission option in newOpts to the new one as you parse opts?

Sorry, I missed the case where permission is not set in the original opts. 
However, it may result in IllegalArgumentException("multiple varargs of same 
kind") in case it is set, right?

> Fix FileContext to allow both recursive and non recursive create and mkdir
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-6271
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6271
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: mkdirCreate1.patch, mkdirCreate2.patch, 
> mkdirCreate3.patch
>
>
> Modify FileContext to allow recursive and non-recursive create and mkdir (see 
> HADOOP-4952)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to