hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13461) NPE in KeyProvider.rollNewVersion
Date Wed, 03 Aug 2016 11:26:20 GMT
Colm O hEigeartaigh created HADOOP-13461:

             Summary: 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
            Reporter: Colm O hEigeartaigh
            Priority: Minor
             Fix For: 2.8.0, 2.7.3, 2.6.5, 3.0.0-alpha1

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

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

View raw message