[
https://issues.apache.org/jira/browse/OOZIE-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14544463#comment-14544463
]
Purshotam Shah commented on OOZIE-2232:
---------------------------------------
Retrieving all jobs is ok. But killing or suspending all jobs is a risky
operation.
I believe that we should never allow to kill/suspend on regex or all jobs.
Command like kill/suspend should take id(s)/name(s) and should only kill them.
If not used properly can cause inevitable situation.
command like "oozie jobs -kill -filer status=RUNNING -jobtype bundle" will kill
all running bundle, which will kill all coords and wfs ( which means every
processing jobs will get killed). I guess we should safeguard that.
> Oozie should invalidate bulk write command when "-filter" is missing
> --------------------------------------------------------------------
>
> Key: OOZIE-2232
> URL: https://issues.apache.org/jira/browse/OOZIE-2232
> Project: Oozie
> Issue Type: Bug
> Reporter: Bowen Zhang
> Assignee: Venkat Ranganathan
> Fix For: trunk, 4.2
>
> Attachments: OOZIE-2232.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)