ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Matthew (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-22473) shell.process_executor races process exit
Date Sun, 19 Nov 2017 00:27:00 GMT
Jonathan Matthew created AMBARI-22473:
-----------------------------------------

             Summary: shell.process_executor races process exit
                 Key: AMBARI-22473
                 URL: https://issues.apache.org/jira/browse/AMBARI-22473
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.6.0
            Reporter: Jonathan Matthew


By calling cmd.poll(), shell.process_executor assumes that the subcommand will have exited
once it has finished reading from its stdout pipe. This isn't necessarily the case, so it
should call cmd.wait() instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message