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

Fix potential NPE in InMemoryLevelDBAliasMapServer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      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

              • Assignee:
                virajith Virajith Jalaparti
                Reporter:
                virajith Virajith Jalaparti
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: