hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11352) Potential deadlock in NN when failing over
Date Fri, 20 Jan 2017 16:25:26 GMT

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

Erik Krogen commented on HDFS-11352:

Whitespace issues and ASF license are clearly not related. All of the unit tests seem unrelated
and pass fine locally.

[~ajisakaa], pinging based on involvement in HDFS-11180/HDFS-11290, can you review?

> Potential deadlock in NN when failing over
> ------------------------------------------
>                 Key: HDFS-11352
>                 URL: https://issues.apache.org/jira/browse/HDFS-11352
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.7.4, 2.6.6
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>              Labels: high-availability
>         Attachments: HDFS-11352-branch-2.7.000.patch
> HDFS-11180 fixed a general class of deadlock that can occur when failing over  between
the MetricsSystemImpl and FSEditLog (see comments on that JIRA for more details). In trunk
and branch-2/branch-2.8 this fix was successful by making the metrics calls not synchronize
on FSEditLog.
> In branch-2.6 and branch-2.7 there is one more method, {{FSNamesystem#getTransactionsSinceLastCheckpoint}},
which still requires the lock on FSEditLog and thus can result in the same deadlock scenario.
This can be seen by running {{TestFSNamesystemMBean#testWithFSEditLogLock}} _with the patch
in HDFS-11290_ on either of these branches (it fails currently).

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