Source:
<code>protected boolean createExecution(NodeSet nodeSet, Node node, InternalJob job, InternalTask task, TaskDescriptor taskDescriptor) throws Exception { TaskLauncher launcher = null; LiveJobs.JobData jobData = null; try { jobData = schedulingService.lockJob(job.getId()); if (nodeSet.size() >= task.getNumberOfNodesNeeded() && (task.getStatus() != TaskStatus.PAUSED) && (jobData != null)) { DataSpaceServiceStarter dsStarter = schedulingService.getInfrastructure().getDataSpaceServiceStarter(); job.startDataSpaceApplication(dsStarter.getNamingService(), ImmutableList.of(task)); NodeSet nodes = new NodeSet(); try { launcher = task.createLauncher(node); activeObjectCreationRetryTimeNumber = ACTIVEOBJECT_CREATION_RETRY_TIME_NUMBER; nodeSet.remove(0); if (task.isParallel()) { nodes = new NodeSet(nodeSet); task.getExecuterInformation().addNodes(nodes); nodeSet.clear(); } task.getExecutableContainer().setNodes(nodes); tlogger.debug(task.getId(), "deploying"); getDBManager().registerUpcomingTaskStartedPersistence(job, task); <START> String terminateNotificationURL = PAActiveObject.getActiveObjectNode(terminateNotification) <END> .getNodeInformation() .getURL(); threadPool.submitWithTimeout(new TimedDoTaskAction(job, taskDescriptor, launcher, schedulingService, terminateNotification, corePrivateKey, terminateNotificationURL), DOTASK_ACTION_TIMEOUT, TimeUnit.MILLISECONDS); finalizeStarting(job, task, node, launcher); return true; } catch (Exception t) { try { nodes.add(node); releaseNodes(job, nodes); } catch (Throwable ni) { } throw t; } } else { return false; } } finally { if (jobData != null) { jobData.unlock(); } } }</code><technical_language>name terminateNotificationNodeURL terminateNotificationAONodeURL everywhere, confused url of active oject</technical_language>

Target:
protected boolean createExecution(NodeSet nodeSet, Node node, InternalJob job, InternalTask task, TaskDescriptor taskDescriptor) throws Exception { TaskLauncher launcher = null; LiveJobs.JobData jobData = null; try { jobData = schedulingService.lockJob(job.getId()); if (nodeSet.size() >= task.getNumberOfNodesNeeded() && (task.getStatus() != TaskStatus.PAUSED) && (jobData != null)) { DataSpaceServiceStarter dsStarter = schedulingService.getInfrastructure().getDataSpaceServiceStarter(); job.startDataSpaceApplication(dsStarter.getNamingService(), ImmutableList.of(task)); NodeSet nodes = new NodeSet(); try { launcher = task.createLauncher(node); activeObjectCreationRetryTimeNumber = ACTIVEOBJECT_CREATION_RETRY_TIME_NUMBER; nodeSet.remove(0); if (task.isParallel()) { nodes = new NodeSet(nodeSet); task.getExecuterInformation().addNodes(nodes); nodeSet.clear(); } task.getExecutableContainer().setNodes(nodes); tlogger.debug(task.getId(), "deploying"); String terminateNotificationNodeURL = PAActiveObject.getActiveObjectNode(terminateNotification) .getNodeInformation() .getURL(); threadPool.submitWithTimeout(new TimedDoTaskAction(job, taskDescriptor, launcher, schedulingService, terminateNotification, corePrivateKey, terminateNotificationNodeURL), DOTASK_ACTION_TIMEOUT, TimeUnit.MILLISECONDS); finalizeStarting(job, task, node, launcher); return true; } catch (Exception t) { try { nodes.add(node); releaseNodes(job, nodes); } catch (Throwable ni) { } throw t; } } else { return false; } } finally { if (jobData != null) { jobData.unlock(); } } }