[
https://issues.apache.org/jira/browse/HDFS-10814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15448020#comment-15448020
]
Zhe Zhang commented on HDFS-10814:
----------------------------------
Thanks Vinitha for the fix. This will catch future potential NPE issues.
+1 on the patch pending Jenkins.
> Add assertion for getNumEncryptionZones when no EZ is created
> -------------------------------------------------------------
>
> Key: HDFS-10814
> URL: https://issues.apache.org/jira/browse/HDFS-10814
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: test
> Reporter: Vinitha Reddy Gankidi
> Assignee: Vinitha Reddy Gankidi
> Priority: Minor
> Attachments: HDFS-10814.001.patch
>
>
> HDFS-10809 adds an additional assertion to TestEncryptionZones to validate
> that getNumEncryptionZones returns 0 if there is no EZ. This is a useful
> check to add to trunk as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]