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

Andrew Wang commented on HDFS-7124:
-----------------------------------

Hey Charles, could we just make the zone optional in GetEZForPathResponse, then 
switch based on it being present (using hasZone())? This seems cleaner than 
needing that sentinel value at all. Thanks.

> Remove EncryptionZoneManager.NULL_EZ
> ------------------------------------
>
>                 Key: HDFS-7124
>                 URL: https://issues.apache.org/jira/browse/HDFS-7124
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 2.6.0
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>            Priority: Minor
>         Attachments: HDFS-7124.001.patch, HDFS-7124.002.patch
>
>
> Remove EncryptionZoneManager.NULL_EZ so that null can be used instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to