如果修改OOZIE JOB在OOZIE UI上保存的时间

可以查看org.apache.oozie.service.PurgeService这个类,里面有默认的设置是30天,通过以下配置可以进行修改。

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.

你可能感兴趣的:(如果修改OOZIE JOB在OOZIE UI上保存的时间)