log.info(error);
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
}
dt.downloadStdOuts();
} else if (activityStatus.getState() == ActivityStateEnumeration.CANCELLED) {
String experimentID = (String) jobExecutionContext.getProperty(Constants.PROP_TOPIC);
ApplicationJobStatus applicationJobStatus = ApplicationJobStatus.CANCELED;
String jobStatusMessage = "Status of job " + jobId + "is " + applicationJobStatus;
jobExecutionContext.getNotifier().publish(new StatusChangeEvent(jobStatusMessage));