hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4176) EditLogTailer should call rollEdits with a timeout
Date Wed, 27 Jul 2016 17:23:20 GMT

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

Lei (Eddy) Xu updated HDFS-4176:
--------------------------------
    Attachment: HDFS-4176.00.patch

Upload a patch to use {{Future}} to wrap {{rollEdit}} with a configurable timeout.


> EditLogTailer should call rollEdits with a timeout
> --------------------------------------------------
>
>                 Key: HDFS-4176
>                 URL: https://issues.apache.org/jira/browse/HDFS-4176
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha, namenode
>    Affects Versions: 2.0.2-alpha, 3.0.0-alpha1
>            Reporter: Todd Lipcon
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-4176.00.patch, namenode.jstack4
>
>
> When the EditLogTailer thread calls rollEdits() on the active NN via RPC, it currently
does so without a timeout. So, if the active NN has frozen (but not actually crashed), this
call can hang forever. This can then potentially prevent the standby from becoming active.
> This may actually considered a side effect of HADOOP-6762 -- if the RPC were interruptible,
that would also fix the issue.



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