[
https://issues.apache.org/jira/browse/OOZIE-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Purshotam Shah updated OOZIE-2055:
----------------------------------
Description:
{code}
// start bundles as needed;
try {
jobList = jpaService.execute(new
BundleJobsGetNeedStartJPAExecutor(d));
if (jobList != null) {
for (BundleJobBean bundleJob : jobList) {
bundleJob.setKickoffTime(d);
new BundleStartXCommand(bundleJob.getId()).call();
LOG.debug("Calling BundleStartXCommand for bundle job =
" + bundleJob.getId());
}
}
}
catch (Exception ex) {
LOG.warn("Exception happened when pausing/unpausing/starting
Bundle jobs", ex);
}
{code}
If any of job has issue, then exception will be thrown and PauseTransitService
will ignore all other jobs.
was:
{code}
// start bundles as needed;
try {
jobList = jpaService.execute(new
BundleJobsGetNeedStartJPAExecutor(d));
if (jobList != null) {
for (BundleJobBean bundleJob : jobList) {
bundleJob.setKickoffTime(d);
new BundleStartXCommand(bundleJob.getId()).call();
LOG.debug("Calling BundleStartXCommand for bundle job =
" + bundleJob.getId());
}
}
}
catch (Exception ex) {
LOG.warn("Exception happened when pausing/unpausing/starting
Bundle jobs", ex);
}
{code}
If any of job has issue, then exception will be thrown and
> PauseTransitService does not proceed forward if any job has issue
> ------------------------------------------------------------------
>
> Key: OOZIE-2055
> URL: https://issues.apache.org/jira/browse/OOZIE-2055
> Project: Oozie
> Issue Type: Bug
> Reporter: Purshotam Shah
>
> {code}
> // start bundles as needed;
> try {
> jobList = jpaService.execute(new
> BundleJobsGetNeedStartJPAExecutor(d));
> if (jobList != null) {
> for (BundleJobBean bundleJob : jobList) {
> bundleJob.setKickoffTime(d);
> new BundleStartXCommand(bundleJob.getId()).call();
> LOG.debug("Calling BundleStartXCommand for bundle job
> = " + bundleJob.getId());
> }
> }
> }
> catch (Exception ex) {
> LOG.warn("Exception happened when pausing/unpausing/starting
> Bundle jobs", ex);
> }
> {code}
> If any of job has issue, then exception will be thrown and
> PauseTransitService will ignore all other jobs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)