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

Purshotam Shah commented on OOZIE-2108:
---------------------------------------

{quote}
Purshotam Shah, RB seems to be down today. The JOBS command means you are 
affecting multiple jobs while the oozie JOB is meant to be singular. In the 
same way, when you try to get job info from multiple jobs, you don't use the 
singular
job -info
but the JOBS sub-command. In addition, the JOBS already has filter, offset, 
len, and jobtype options which come handy and are reused by the bulk write 
operations.
{quote}
Agree and your approach is good. Just wanted to discussion if we can improve 
the usability.
There are no common commands for {{JOBS}} and {{JOB}}.  With your approach 
almost all commands will be repeated and which might be confusing for user.
Wanted to see if we can have better and easy to use commands.

> 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