ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20070) Agent heartbeat lost due to subprocess.Popen race condition
Date Mon, 13 Mar 2017 21:23:42 GMT

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

Doroszlai, Attila updated AMBARI-20070:
---------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to [trunk|http://git-wip-us.apache.org/repos/asf/ambari/commit/19c9e255] and [branch-2.5|http://git-wip-us.apache.org/repos/asf/ambari/commit/7794d132].

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

Mime
View raw message