[
https://issues.apache.org/jira/browse/HDFS-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020178#comment-13020178
]
Suresh Srinivas commented on HDFS-1831:
---------------------------------------
> We should also validate the flag in NameNode.
I had to remove it to fix TestLeaseAppend2 failure.
TestLeaseAppend2 fails if the validation rejects the create request before
going all the way to the end of FSNamesystem#startFileInternal(), through lease
recovery code. This is a strange piece of code that we should address at some
point.
> 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