hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12914) Block report leases cause missing blocks until next report
Date Fri, 14 Jun 2019 17:44:00 GMT

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

Hudson commented on HDFS-12914:
-------------------------------

FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #16746 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/16746/])
HDFS-12914. Block report leases cause missing blocks until next report. (weichiu: rev ae4143a529d74d94f205ca627c31360abfa11bfa)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java


> Block report leases cause missing blocks until next report
> ----------------------------------------------------------
>
>                 Key: HDFS-12914
>                 URL: https://issues.apache.org/jira/browse/HDFS-12914
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.8.0, 2.9.2
>            Reporter: Daryn Sharp
>            Assignee: Santosh Marella
>            Priority: Critical
>         Attachments: HDFS-12914-branch-2.001.patch, HDFS-12914-trunk.00.patch, HDFS-12914-trunk.01.patch,
HDFS-12914.005.patch, HDFS-12914.006.patch, HDFS-12914.007.patch, HDFS-12914.008.patch
>
>
> {{BlockReportLeaseManager#checkLease}} will reject FBRs from DNs for conditions such
as "unknown datanode", "not in pending set", "lease has expired", wrong lease id, etc.  Lease
rejection does not throw an exception.  It returns false which bubbles up to  {{NameNodeRpcServer#blockReport}}
and interpreted as {{noStaleStorages}}.
> A re-registering node whose FBR is rejected from an invalid lease becomes active with
_no blocks_.  A replication storm ensues possibly causing DNs to temporarily go dead (HDFS-12645),
leading to more FBR lease rejections on re-registration.  The cluster will have many "missing
blocks" until the DNs next FBR is sent and/or forced.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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