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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2015/08/14 03:40:45 UTC

[jira] [Updated] (HADOOP-11802) DomainSocketWatcher thread terminates sometimes after there is an I/O error during requestShortCircuitShm

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

Akira AJISAKA updated HADOOP-11802:
-----------------------------------
    Attachment: HADOOP-11802.branch-2.6.patch

Attaching a patch to backport this issue to branch-2.6.


> DomainSocketWatcher thread terminates sometimes after there is an I/O error during requestShortCircuitShm
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11802
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11802
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Eric Payne
>            Assignee: Colin Patrick McCabe
>              Labels: 2.6.1-candidate
>             Fix For: 2.7.1
>
>         Attachments: HADOOP-11802.001.patch, HADOOP-11802.002.patch, HADOOP-11802.003.patch, HADOOP-11802.004.patch, HADOOP-11802.branch-2.6.patch
>
>
> In {{DataXceiver#requestShortCircuitShm}}, we attempt to recover from some errors by closing the {{DomainSocket}}.  However, this violates the invariant that the domain socket should never be closed when it is being managed by the {{DomainSocketWatcher}}.  Instead, we should call {{shutdown}} on the {{DomainSocket}}.  When this bug hits, it terminates the {{DomainSocketWatcher}} thread.



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