hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10219) ipc.Client.setupIOstreams() needs to check for ClientCache.stopClient requested shutdowns
Date Sat, 18 Aug 2018 01:10:00 GMT

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

Steve Loughran commented on HADOOP-10219:

Might be better to use an {{AtomicReference< Thread >}} and get/set that: one field
to manage, less convoluted, and less likely to confuse findbugs

regarding the main IPC patch: someone who knows their way round that code is going to have
to review it. I'm not that person, I'm afraid

> ipc.Client.setupIOstreams() needs to check for ClientCache.stopClient requested shutdowns

> ------------------------------------------------------------------------------------------
>                 Key: HADOOP-10219
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10219
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.2.0, 2.6.0
>            Reporter: Steve Loughran
>            Assignee: Kihwal Lee
>            Priority: Major
>         Attachments: HADOOP-10219.patch, HADOOP-10219.v1.patch, HADOOP-10219.v2.patch,
> When {{ClientCache.stopClient()}} is called to stop the IPC client, if the client
>  is blocked spinning due to a connectivity problem, it does not exit until the policy
has timed out -so the stopClient() operation can hang for an extended period of time.
> This can surface in the shutdown hook of FileSystem.cache.closeAll()
> Also, Client.stop() is for used in NN switch from Standby to Active, and can therefore
have very bad consequences and cause downtime.

This message was sent by Atlassian JIRA

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

View raw message