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

Rohini Palaniswamy commented on OOZIE-2108:
-------------------------------------------

I am good with the approach in the jira from [~bowenzhangusa]. Adding multiple 
separate commands for kill, suspend, resume will have same complexity. They 
will all have to support same options that jobs command now supports. As it 
already supports -info, we can go ahead and add the other commands to jobs and 
use job and jobs to act on single and multiple respectively as Bowen mentioned. 
Also it is the simplest approach in terms of backward compatibility.

> bulk kill, suspend, resume jobs using existing filter, offset, len, and 
> jobtype params
> --------------------------------------------------------------------------------------
>
>                 Key: OOZIE-2108
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2108
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Bowen Zhang
>            Assignee: Bowen Zhang
>         Attachments: oozie-2108.patch
>
>
> Currently, there is no bulk write operations in "jobs" API. We would like to 
> first introduce a bulk kill operation that kills all jobs which satisfy the 
> filter. The desired usage will be {noformat}oozie jobs -oozie 
> http://localhost:11000/oozie -kill -filter name=something{noformat}



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

Reply via email to