[
https://issues.apache.org/jira/browse/OOZIE-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Purshotam Shah updated OOZIE-2863:
----------------------------------
Description:
LoadOnRestart load all job and tries to calculate SLA status. Based on job and
SLA status, it moves job into historyMap or slaMap.
Mostly, the slowness is caused by calculating SLA status (since it needs to
acquire ZK lock and make DB calls for each SLA job modified in last seven days).
LoadOnRestart should only populate slaMap entry, and periodic SLA check should
take care of calculating SLA status.
> SLACalculatorMemory.loadOnRestart causing delay in server start
> ---------------------------------------------------------------
>
> Key: OOZIE-2863
> URL: https://issues.apache.org/jira/browse/OOZIE-2863
> Project: Oozie
> Issue Type: Bug
> Reporter: Purshotam Shah
>
> LoadOnRestart load all job and tries to calculate SLA status. Based on job
> and SLA status, it moves job into historyMap or slaMap.
> Mostly, the slowness is caused by calculating SLA status (since it needs to
> acquire ZK lock and make DB calls for each SLA job modified in last seven
> days).
> LoadOnRestart should only populate slaMap entry, and periodic SLA check
> should take care of calculating SLA status.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)