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

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

> The problem with this is, all checks that compare objects for equality will 
> fail in enums. ...

Ah, you are right.  We could change the enum to a class but this is a bigger 
change that you probably won't like to do it here.

> 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.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