[
https://issues.apache.org/jira/browse/HDFS-13795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572282#comment-16572282
]
Íñigo Goiri commented on HDFS-13795:
------------------------------------
Thanks [~virajith] for [^HDFS-13795.002.patch]; a couple minor comments:
* For the unit test, we should use {{LambdaTestUtils}}.
* Why do we need the Nonnull annotation?
> Fix potential NPE in InMemoryLevelDBAliasMapServer
> --------------------------------------------------
>
> Key: HDFS-13795
> URL: https://issues.apache.org/jira/browse/HDFS-13795
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Virajith Jalaparti
> Assignee: Virajith Jalaparti
> Priority: Major
> Attachments: HDFS-13795.001.patch, HDFS-13795.002.patch
>
>
> Namenode fails to stop correctly due to NPE in InMemoryAliasMapServer, when
> it is configured incorrectly.
> {code:java}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]