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

Colm O hEigeartaigh commented on HADOOP-13461:
----------------------------------------------

Thanks [~xiaochen], I've removed the FixVersion(s) field, and changed Affects 
Versions(s) to 2.7.2 + 2.6.4. I've also made the fixes you suggested and 
reattached the patch.

Colm.

> 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
>            Priority: Minor
>         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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to