Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13795

Fix potential NPE in InMemoryLevelDBAliasMapServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None

    Description

      Namenode fails to stop correctly due to NPE in InMemoryAliasMapServer, when it is configured incorrectly.

          java.lang.NullPointerException
                      at org.apache.hadoop.hdfs.server.aliasmap.InMemoryLevelDBAliasMapServer.close(InMemoryLevelDBAliasMapServer.java:149)
                      at org.apache.hadoop.hdfs.server.namenode.NameNode.stop(NameNode.java:1023)
      

      Attachments

        1. HDFS-13795.001.patch
          5 kB
          Virajith Jalaparti
        2. HDFS-13795.002.patch
          6 kB
          Virajith Jalaparti
        3. HDFS-13795.003.patch
          5 kB
          Virajith Jalaparti
        4. HDFS-13795.004.patch
          6 kB
          Virajith Jalaparti
        5. HDFS-13795.005.patch
          5 kB
          Virajith Jalaparti

        Issue Links

          Activity

            People

              virajith Virajith Jalaparti
              virajith Virajith Jalaparti
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: