[ 
https://issues.apache.org/jira/browse/HDFS-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020177#comment-13020177
 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1831:
----------------------------------------------

+1 patch looks good.

- Minor:
We should also validate the flag in {{NameNode}}.

- An existing bug:
NPE if appending to a non-existing file using {{FileSystem}}.  {{FileContext}} 
does not have such problem.

> HDFS equivalent of HADOOP-7223 changes to handle FileContext createFlag 
> combinations
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-1831
>                 URL: https://issues.apache.org/jira/browse/HDFS-1831
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.23.0
>
>         Attachments: HDFS-1831.1.patch, HDFS-1831.4.patch, HDFS-1831.patch
>
>
> During file creation with FileContext, the expected behavior is not clearly 
> defined for combination of createFlag EnumSet. This is HDFS equivalent of 
> HADOOP-7223

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to