[
https://issues.apache.org/jira/browse/OOZIE-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andras Salamon updated OOZIE-3359:
----------------------------------
Fix Version/s: (was: 5.2.0)
5.3.0
> Check for Process#waitFor() usage and fix it in order to avoid indefinite
> waiting
> ---------------------------------------------------------------------------------
>
> Key: OOZIE-3359
> URL: https://issues.apache.org/jira/browse/OOZIE-3359
> Project: Oozie
> Issue Type: Improvement
> Affects Versions: trunk
> Reporter: Julia Kinga Marton
> Priority: Major
> Fix For: 5.3.0
>
>
> {{Process#waitFor()}} will block until the process finishes. There are
> situations where this will wait indefinitely. A similar case was in
> SshActionExecutor, fixed in OOZIE-3354.
> Let's check the code for other usages, and fix it.
> Maybe we should check if we can use somehow the Process#waitFor(long timeout,
> TimeUnit timeUnit) instead of it. The tricky part is that this method is
> available only in Java 8.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)