You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/03/11 19:09:04 UTC

[jira] [Updated] (AMBARI-20070) Agent heartbeat lost due to subprocess.Popen race condition

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

Doroszlai, Attila updated AMBARI-20070:
---------------------------------------
    Attachment: AMBARI-20070_multiprocessing.patch

> Agent heartbeat lost due to subprocess.Popen race condition
> -----------------------------------------------------------
>
>                 Key: AMBARI-20070
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20070
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.5.0
>         Environment: Python 2.7
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Critical
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: AMBARI-20070_multiprocessing.patch, AMBARI-20070.patch
>
>
> Workaround for http://bugs.python.org/issue19809 that probably causes {{subprocess.Popen}} call to get stuck in:
> {noformat}
> File: "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>   errread, errwrite)
> File: "/usr/lib/python2.7/subprocess.py", line 1244, in _execute_child
>   data = _eintr_retry_call(os.read, errpipe_read, 1048576)
> File: "/usr/lib/python2.7/subprocess.py", line 478, in _eintr_retry_call
>   return func(*args)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)