Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13461

NPE in KeyProvider.rollNewVersion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.2, 2.6.4
    • 2.9.0, 3.0.0-alpha1
    • None
    • None

    Description

      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.

      Attachments

        1. HADOOP-13461.patch
          3 kB
          Colm O hEigeartaigh

        Activity

          People

            coheigea Colm O hEigeartaigh
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: