[
https://issues.apache.org/jira/browse/OOZIE-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14521894#comment-14521894
]
Purshotam Shah edited comment on OOZIE-2020 at 5/1/15 2:56 AM:
---------------------------------------------------------------
I have added comment to RB. Adding it to JIRA, so that we can discuss that.
{code}
+ Option rerun_killedaction = new Option(RERUN_KILLED_ACTION_OPTION,
false,
+ "re-runs all killed coordinator actions (requires -rerun)");
+ Option rerun_failedaction = new Option(RERUN_FAILED_ACTION_OPTION,
false,
+ "re-runs all failed coordinator actions (requires -rerun)");
+ Option rerun_timedoutaction = new Option(RERUN_TIMEDOUT_ACTION_OPTION,
false,
+ "re-runs all timeout coordinator actions (requires -rerun)");
{code}
Adding new option will again complicate CLI options. We already have
action/date option and status param. We status param to retrieve
failed/killed/timedout actions and can be used for rerunning.
Our options should be reusable among commands. Introducing new options may
complicate things and will make CLI difficult to use.
oozie job -rerun <jobId> -filter "status=KILLED;status=FAILED".
If -action param is not specified with param filter then we can consider it as
"all" actions.
This means renun all action, which is killed or failed.
User can also specify -action or -date param with filter.
oozie job -rerun <jobId> -filter "status=KILLED;status=FAILED" -action 1-100.
This means renun all actions from 1-100, which is killed or failed.
was (Author: puru):
I have added comment to RB. Adding it to JIRA, so that we can discuss that.
Adding new option will again complicate CLI options. We already have
action/date option and status param. We status param to retrieve
failed/killed/timedout actions and can be used for rerunning.
Our options should be reusable among commands. Introducing new options may
complicate things and will make CLI difficult to use.
oozie job -rerun <jobId> -filter "status=KILLED;status=FAILED".
If -action param is not specified with param filter then we can consider it as
"all" actions.
This means renun all action, which is killed or failed.
User can also specify -action or -date param with filter.
oozie job -rerun <jobId> -filter "status=KILLED;status=FAILED" -action 1-100.
This means renun all actions from 1-100, which is killed or failed.
> Rerun all Failed/killed/timedout coordinator actions rather than specifying
> action numbers
> ------------------------------------------------------------------------------------------
>
> Key: OOZIE-2020
> URL: https://issues.apache.org/jira/browse/OOZIE-2020
> Project: Oozie
> Issue Type: New Feature
> Components: action
> Reporter: Sreedish P S
> Assignee: Narayan Periwal
> Priority: Minor
> Attachments: OOZIE-2020-v4.patch, OOZIE-2020-v5.patch
>
>
> Currently rerun of coordinator actions are made through coordinator id and
> action numbers, this feature request is for rerunning all coordinator actions
> by mentioning a particular state
> for example :
> oozie job -rerun coord-id -state killed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)