You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Luke Lu (JIRA)" <ji...@apache.org> on 2011/08/09 02:50:29 UTC

[jira] [Commented] (HADOOP-7529) Possible deadlock in metrics2

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

Luke Lu commented on HADOOP-7529:
---------------------------------

Though it's unlikely to happen in practice (metrics system initialization usually doesn't overlap with metrics source registration), it's probably worth fixing for posterity. The v1 patch make metrics impl in the DefaultMetricsSystem an AtomicReference.

> Possible deadlock in metrics2
> -----------------------------
>
>                 Key: HADOOP-7529
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7529
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Luke Lu
>            Priority: Critical
>             Fix For: 0.23.0
>
>         Attachments: hadoop-7529-v1.patch, metrics-deadlock.png
>
>
> Lock cycle detected by jcarder between MetricsSystemImpl and DefaultMetricsSystem

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira