[ https://issues.apache.org/jira/browse/OOZIE-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317051#comment-14317051 ]
Purshotam Shah commented on OOZIE-2108: --------------------------------------- we should also think of web-service. CLI is very easy to use, but webservice is too complicated. I guess no one can create a simple webservice like rerun unless they refer documentation. Web-service should be simple, user should be able to create web-service without referring to any documentation. In your case web-service will look like. To kill one job PUT /oozie/v1/job/<jobId>?action=kill To kill multiple jobs PUT /oozie/v1/jobs?action=kill&name=<abac,cde>&id=<jobId1,jobId2> Is not that confusion? They also have to remember that some time they have to use {{jobs}} and some times they have to use {{job}}. We don't have generic format to kill single and multiple jobs. > 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)