[ 
https://issues.apache.org/jira/browse/HDFS-11078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15623836#comment-15623836
 ] 

Inigo Goiri commented on HDFS-11078:
------------------------------------

After applying HDFS-9555, this is not that critical but still it would be nice 
to add a check for this.

> NPE in LazyPersistFileScrubber
> ------------------------------
>
>                 Key: HDFS-11078
>                 URL: https://issues.apache.org/jira/browse/HDFS-11078
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Inigo Goiri
>            Assignee: Inigo Goiri
>
> If a block is removed, it will be removed from the block map. When the 
> clearCorruptLazyPersistFiles() tries to delete the block, it may already be 
> deleted and generate a null pointer exception.
> java.lang.NullPointerException
>                 at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem$LazyPersistFileScrubber.clearCorruptLazyPersistFiles(FSNamesystem.java:3820)
>                 at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem$LazyPersistFileScrubber.run(FSNamesystem.java:3851)
>                 at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to