Robert Kanter created OOZIE-1759:
------------------------------------

             Summary: Add a command to delete jobs
                 Key: OOZIE-1759
                 URL: https://issues.apache.org/jira/browse/OOZIE-1759
             Project: Oozie
          Issue Type: New Feature
            Reporter: Robert Kanter


When testing a workflow, coordinator, or bundle, you can easily end up with a 
lot of "bad" jobs that you really don't need anymore.  Currently, you can 
either wait for Oozie to remove them, drop the entire Oozie database, or go in 
the database and manually delete the job (which we don't want to encourage).

It would be useful if we added a "delete" command to delete jobs.  We can 
restrict the command to only allow you to delete jobs that are SUCCEEDED, 
KILLED, or FAILED to prevent users from deleting jobs in progress.

i.e.
{noformat}
oozie job -delete <job-id>
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to