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

Andras Salamon commented on OOZIE-3570:
---------------------------------------

It might be possible to come up with a unit test, but right now Oozie's ssh 
unit tests are not working at all: OOZIE-3391 

> SSH Action execution command should add the mechanism of timeout
> ----------------------------------------------------------------
>
>                 Key: OOZIE-3570
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3570
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Junfan Zhang
>            Assignee: Junfan Zhang
>            Priority: Major
>
> *Phenomenon*
> Currently, In SSH action, When the remote machine is hung, execution command 
> will waiting. This will cause the number of Oozie threads to be occupied, 
> which will cause delays in scheduling other tasks.
> *Solution*
> SSH Action execution command should add timeout prefix. But the {{ssh -o 
> ConnectTimeout=20}} is invalid
> {code:java}
> timeout 20s ssh xxxxxxxxxx
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to