Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20070

Agent heartbeat lost due to subprocess.Popen race condition

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-agent
    • None
    • Python 2.7

    Description

      Workaround for http://bugs.python.org/issue19809 that probably causes subprocess.Popen call to get stuck in:

      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)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adoroszlai Attila Doroszlai
            Dtarasyuk Denis Tarasyuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment