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

Steve Loughran commented on SLIDER-584:
---------------------------------------

SLIDER-86 reworked stdout/stderr forwarding for the python scripts so they'd be 
consistent across windows and unix. Now they spin waiting for lines and 
printing them
{code}
  while not finished:
    (line, done) = read(src, line)
        info(line)
      line = ""
{code}

It could just be some concurrency logic here: the line isn't completely parsed 
before the {{finished}} bit is set, so the handler should add a teardown 
sequence that just does a read & print until the end of the file is hit, at 
which time the thread finishes.

One caveat: windows does behave differently here.

> CommandEnvironmentIT failing on HA cluster - assertion failures
> ---------------------------------------------------------------
>
>                 Key: SLIDER-584
>                 URL: https://issues.apache.org/jira/browse/SLIDER-584
>             Project: Slider
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Slider 0.60
>         Environment: HA yarn cluster
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>             Fix For: Slider 0.60
>
>
> The CommandEnvironmentIT test is failing, assertions that slider.confdir and 
> slider libdir are in stdout are failing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to