hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12140) Remove BPOfferService lock contention to get block pool id
Date Fri, 14 Jul 2017 21:20:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-12140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kihwal Lee updated HDFS-12140:
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.8.3
           Status: Resolved  (was: Patch Available)

Thansk for the patch, Daryn. And thanks for reviewing it, Rushabh.  I've committed this to
trunk, branch-2 and branch-2.8.

> Remove BPOfferService lock contention to get block pool id
> ----------------------------------------------------------
>                 Key: HDFS-12140
>                 URL: https://issues.apache.org/jira/browse/HDFS-12140
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 2.8.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>             Fix For: 2.9.0, 3.0.0-beta1, 2.8.3
>         Attachments: HDFS-12140.branch-2.8.patch, HDFS-12140.trunk.patch
> The block pool id is protected by a lock in {{BPOfferService}}.  This creates excessive
contention especially for xceivers threads attempting to queue IBRs and heartbeat processing.
 When the latter is delayed due to excessive FSDataset lock contention, it causes pipelines
to collapse.
> Accessing the block pool id should be lockless after registration.

This message was sent by Atlassian JIRA

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

View raw message