You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Anatoli Fomenko (JIRA)" <ji...@apache.org> on 2013/05/01 02:18:16 UTC

[jira] [Commented] (BIGTOP-950) race condition for output consumption in Shell code

    [ https://issues.apache.org/jira/browse/BIGTOP-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646199#comment-13646199 ] 

Anatoli Fomenko commented on BIGTOP-950:
----------------------------------------

+1
                
> race condition for output consumption in Shell code
> ---------------------------------------------------
>
>                 Key: BIGTOP-950
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-950
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.5.0
>            Reporter: Roman Shaposhnik
>            Assignee: Roman Shaposhnik
>             Fix For: 0.6.0
>
>         Attachments: 0001-BIGTOP-950.-race-condition-for-output-consumption-in.patch
>
>
> It seems that there's a race condition in Shell's implementation between calling proc.waitFor() and making sure that all of the output is transferred to ByteArrays by consumeProcessOutput

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira