hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kavita sharma (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2672) possible Cases for NullPointerException
Date Tue, 13 Dec 2011 11:45:30 GMT
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.

   Block newBlock = primary.getBlockInfo(last.getBlock());
   if newBlock comes null then NullPointerException will be thrown.

  uos = UpgradeObjectCollection.getDistributedUpgrades(-4,

if uos will come null then NullPointerException will be thrown.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message