You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2014/10/21 03:12:33 UTC
[jira] [Created] (OOZIE-2041) Add an admin command to run the
PurgeXCommand
Robert Kanter created OOZIE-2041:
------------------------------------
Summary: Add an admin command to run the PurgeXCommand
Key: OOZIE-2041
URL: https://issues.apache.org/jira/browse/OOZIE-2041
Project: Oozie
Issue Type: New Feature
Components: core
Affects Versions: trunk
Reporter: Robert Kanter
Some users may find it useful to be able to run the PurgeXCommand on-demand. We can add a new admin command to run this. e.g.
{noformat}
oozie admin -purge
{noformat}
With no args, it can use the "older than" values from oozie-site, but we could have it take some arguments to override those for the command.
Another thing to worry about is making sure that we don't run this if either it's already running (i.e. the user sent it twice) or if the scheduled PurgeService is already running it. On top of that, we may need extra consideration for HA setups where we currently only run it on the leader.
We should probably also have a to not schedule the PurgeService in ooize-site for users who only want to run it manually.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)