[ https://issues.apache.org/jira/browse/HDFS-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866568#comment-13866568 ]
Hadoop QA commented on HDFS-5710: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12621824/HDFS-5710.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/5851//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/5851//console This message is automatically generated. > FSDirectory#getFullPathName should check inodes against null > ------------------------------------------------------------ > > Key: HDFS-5710 > URL: https://issues.apache.org/jira/browse/HDFS-5710 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Ted Yu > Assignee: Uma Maheswara Rao G > Attachments: HDFS-5710.patch, hdfs-5710-output.html > > > From > https://builds.apache.org/job/hbase-0.96-hadoop2/166/testReport/junit/org.apache.hadoop.hbase.mapreduce/TestTableInputFormatScan1/org_apache_hadoop_hbase_mapreduce_TestTableInputFormatScan1/ > : > {code} > 2014-01-01 00:10:15,571 INFO [IPC Server handler 2 on 50198] > blockmanagement.BlockManager(1009): BLOCK* addToInvalidates: > blk_1073741967_1143 127.0.0.1:40188 127.0.0.1:46149 127.0.0.1:41496 > 2014-01-01 00:10:16,559 WARN > [org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor@93935b] > namenode.FSDirectory(1854): Could not get full path. Corresponding file > might have deleted already. > 2014-01-01 00:10:16,560 FATAL > [org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor@93935b] > blockmanagement.BlockManager$ReplicationMonitor(3127): ReplicationMonitor > thread received Runtime exception. > java.lang.NullPointerException > at > org.apache.hadoop.hdfs.server.namenode.FSDirectory.getFullPathName(FSDirectory.java:1871) > at > org.apache.hadoop.hdfs.server.namenode.INode.getFullPathName(INode.java:482) > at > org.apache.hadoop.hdfs.server.namenode.INodeFile.getName(INodeFile.java:316) > at > org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy.chooseTarget(BlockPlacementPolicy.java:118) > at > org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeReplicationWorkForBlocks(BlockManager.java:1259) > at > org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeReplicationWork(BlockManager.java:1167) > at > org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeDatanodeWork(BlockManager.java:3158) > at > org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor.run(BlockManager.java:3112) > at java.lang.Thread.run(Thread.java:724) > {code} > Looks like getRelativePathINodes() returned null but getFullPathName() didn't > check inodes against null, leading to NPE. -- This message was sent by Atlassian JIRA (v6.1.5#6160)