[ https://issues.apache.org/jira/browse/HDFS-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andras Bokor resolved HDFS-2672. -------------------------------- Resolution: Cannot Reproduce > possible Cases for NullPointerException > --------------------------------------- > > Key: HDFS-2672 > URL: https://issues.apache.org/jira/browse/HDFS-2672 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: kavita sharma > Priority: Trivial > > NullPointerException can be thrown as null check is not added in DFSClient > and UpgradeManagerNamenode. > {noformat} > DFSClient.java > Block newBlock = primary.getBlockInfo(last.getBlock()); > if newBlock comes null then NullPointerException will be thrown. > {noformat} > {noformat} > UpgradeManagerNamenode.java > uos = UpgradeObjectCollection.getDistributedUpgrades(-4, > HdfsConstants.NodeType.NAME_NODE); > if uos will come null then NullPointerException will be thrown. > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org