hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13461) NPE in KeyProvider.rollNewVersion
Date Wed, 10 Aug 2016 23:58:21 GMT

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

Hudson commented on HADOOP-13461:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #10257 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10257/])
HADOOP-13461. NPE in KeyProvider.rollNewVersion. Contributed by Colm O (xiao: rev e83be44af530d57d9c49cd989d030052548a068b)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/KeyProvider.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/key/TestKeyProvider.java


> NPE in KeyProvider.rollNewVersion
> ---------------------------------
>
>                 Key: HADOOP-13461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13461
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.2, 2.6.4
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: HADOOP-13461.patch
>
>
> When KeyProvider.rollNewVersion(String name) is called, it first gets the metadata for
the given name. The javadoc states that the getMetadata(String name) method can return null
if the key doesn't exist. However rollNewVersion throws a NPE if the returned metadata is
null.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message