Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deleting jobs from oozie's web UI?

Tags:

hadoop

oozie

Oozie will be listing all the submitted job in its web UI including RUNNING, KILLED, PREP etc.
Is there any way to delete jobs from oozie's web UI without editing metastore DB directly?

like image 929
SachinJ Avatar asked Jun 25 '13 13:06

SachinJ


1 Answers

There are properties for removing completed job / coordinators / bundles after a set number of days has expired:

  • http://oozie.apache.org/docs/3.3.2/oozie-default.xml
    • oozie.services - Will need to contain the purge service: org.apache.oozie.service.PurgeService
    • oozie.service.PurgeService.older.than - age off completed workflows, in days
    • oozie.service.PurgeService.coord.older.than - age off completed coordinators, in days

There are some other related properties (oozie.service.PurgeService. prefixed) as to how many can be purged at once, and how often the service performs purge checking etc

As for arbitrarily removing workflows, i don't think this functionality exists.

like image 172
Chris White Avatar answered Sep 18 '22 13:09

Chris White