hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-11180) Intermittent deadlock in NameNode when failover happens.
Date Mon, 28 Nov 2016 08:53:58 GMT

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

Akira Ajisaka edited comment on HDFS-11180 at 11/28/16 8:53 AM:
----------------------------------------------------------------

Rethinking this, 01 patch is just removing synchronization.
Calling synchronized getLastWrittenTxId/getCurSegmentTxId method ensures all other synchronized
methods are not being called. Maybe this behavior is avoiding some problems. Therefore now
I'm thinking it's not better to remove the synchronization before we conclude that it is safe.


was (Author: ajisakaa):
Rethinking this, 01 patch is no-op.
Calling synchronized getLastWrittenTxId/getCurSegmentTxId method ensures all other synchronized
methods are not being called. Maybe this behavior is avoiding some problems. Therefore now
I'm thinking it's not better to remove the synchronization before we conclude that it is safe.

> Intermittent deadlock in NameNode when failover happens.
> --------------------------------------------------------
>
>                 Key: HDFS-11180
>                 URL: https://issues.apache.org/jira/browse/HDFS-11180
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Abhishek Modi
>              Labels: high-availability
>         Attachments: HDFS-11180.00.patch, HDFS-11180.01.patch, jstack.log
>
>
> It is happening due to metrics getting updated at the same time when failover is happening.
Please find attached jstack at that point of time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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