[
https://issues.apache.org/jira/browse/HDFS-15696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239422#comment-17239422
] Steve Loughran commented on HDFS-15696: --------------------------------------- Think you'll need to move this over to the HBase project. thanks > One pontential NPE > ------------------ > > Key: HDFS-15696 > URL: https://issues.apache.org/jira/browse/HDFS-15696 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: lujie > Priority: Major > > getBlockFile can return null at > https://github.com/apache/hadoop/blob/2ce2198287c9acade501d2681475fac1e5c27c68/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/FsVolumeSpi.java#L346 > > all its callers have null checker except at > https://github.com/apache/hadoop/blob/2ce2198287c9acade501d2681475fac1e5c27c68/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/LocalReplica.java#L399 > We shoud add null check for pontential NPE -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
