hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11078) Fix NPE in LazyPersistFileScrubber
Date Thu, 31 Aug 2017 22:27:00 GMT

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

Junping Du commented on HDFS-11078:
-----------------------------------

Ok. As [~brahmareddy] mentioned above, we are missing jira ID in commit message here, so the
patch get actually landed.

> Fix NPE in LazyPersistFileScrubber
> ----------------------------------
>
>                 Key: HDFS-11078
>                 URL: https://issues.apache.org/jira/browse/HDFS-11078
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.3
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>             Fix For: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.2
>
>         Attachments: HDFS-11078.000.patch, HDFS-11078.001.patch, HDFS-11078-branch-2.7.patch
>
>
> 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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message