[
https://issues.apache.org/jira/browse/OOZIE-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169598#comment-13169598
]
[email protected] commented on OOZIE-635:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3200/
-----------------------------------------------------------
Review request for oozie.
Summary
-------
Changing the logic so the thread run() that consumes the STD/ERR stream closes
the stream on completion, thus not having a race condition on the stream closure
This addresses bug OOZIE-635.
https://issues.apache.org/jira/browse/OOZIE-635
Diffs
-----
trunk/core/src/main/java/org/apache/oozie/action/hadoop/ShellMain.java
1214413
Diff: https://reviews.apache.org/r/3200/diff
Testing
-------
related testcases pass
Thanks,
Alejandro
> ShellMain closes the STD/ERR stream while shell is processing
> -------------------------------------------------------------
>
> Key: OOZIE-635
> URL: https://issues.apache.org/jira/browse/OOZIE-635
> Project: Oozie
> Issue Type: Bug
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Priority: Blocker
>
> The current logic closes the streams after starting the process without
> waiting for it to complete
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira