LOG.debug("Executing linear job: " + jobKey);
if (!executionScheduleManager.continueOnMisfire(context)) {
throw new JobExecutionException("Canceled execution based on misfire"
+ " toleration threshold, job: " + jobKey
+ ", scheduleTime = " + context.getScheduledFireTime());
<BUG>}
try {
doWork(context.getMergedJobDataMap().getWrappedMap());
} catch (AmbariException e) {</BUG>
LOG.error("Exception caught on job execution. Exiting linear chain...", e);

LOG.debug("Executing linear job: " + jobKey);
if (!executionScheduleManager.continueOnMisfire(context)) {
throw new JobExecutionException("Canceled execution based on misfire"
+ " toleration threshold, job: " + jobKey
+ ", scheduleTime = " + context.getScheduledFireTime());
}
Map<String, Object> properties = context.getMergedJobDataMap()
.getWrappedMap();
try {
doWork(properties);
} catch (AmbariException e) {
LOG.error("Exception caught on job execution. Exiting linear chain...", e);
