when(network.getTaskEventDispatcher()).thenReturn(taskEventDispatcher); JobInformation jobInformation = new JobInformation( new JobID(), "Job Name",
final JobID jobId = jobInformation.getJobId(); final JobManagerConnection jobManagerConnection = jobManagerTable.get(jobId); jobInformation.getJobId(), jobInformation.getJobName(), taskInformation.getJobVertexId(), tdd.getExecutionAttemptId(), jobManagerConnection.getLeaderId(), jobManagerConnection.getJobManagerGateway(), jobInformation.getJobId(), taskInformation.getJobVertexId(), tdd.getExecutionAttemptId(),
@Override public JobID getJobID() { return jobInformation.getJobId(); }
new JobInformation( jobId, jobName, this.jobInformationOrBlobKey = BlobWriter.serializeAndTryOffload(jobInformation, jobInformation.getJobId(), blobWriter); this.kvStateLocationRegistry = new KvStateLocationRegistry(jobInformation.getJobId(), getAllVertices());
/** * Returns a list of classpaths referring to the directories/JAR files required to run this job * @return list of classpaths referring to the directories/JAR files required to run this job */ public Collection<URL> getRequiredClasspaths() { return jobInformation.getRequiredClasspathURLs(); }
/** * Returns a list of BLOB keys referring to the JAR files required to run this job. * * @return list of BLOB keys referring to the JAR files required to run this job */ public Collection<PermanentBlobKey> getRequiredJarFiles() { return jobInformation.getRequiredJarFileBlobKeys(); }
@Override public String getJobName() { return jobInformation.getJobName(); }
public Configuration getJobConfiguration() { return jobInformation.getJobConfiguration(); }
/** * Returns the serializable ArchivedExecutionConfig * @return ArchivedExecutionConfig which may be null in case of errors */ @Override public ArchivedExecutionConfig getArchivedExecutionConfig() { // create a summary of all relevant data accessed in the web interface's JobConfigHandler try { ExecutionConfig executionConfig = jobInformation.getSerializedExecutionConfig().deserializeValue(userClassLoader); if (executionConfig != null) { return executionConfig.archive(); } } catch (IOException | ClassNotFoundException e) { LOG.error("Couldn't create ArchivedExecutionConfig for job {} ", getJobID(), e); } return null; }
if (!jobId.equals(jobInformation.getJobId())) { throw new TaskSubmissionException( "Inconsistent job ID information inside TaskDeploymentDescriptor (" + tdd.getJobId() + " vs. " + jobInformation.getJobId() + ")"); jobInformation.getJobId(), jobInformation.getJobName(), taskInformation.getJobVertexId(), tdd.getExecutionAttemptId(),
@Override public JobID getJobID() { return jobInformation.getJobId(); }
new JobInformation( jobId, jobName, this.jobInformationOrBlobKey = BlobWriter.serializeAndTryOffload(jobInformation, jobInformation.getJobId(), blobWriter); this.kvStateLocationRegistry = new KvStateLocationRegistry(jobInformation.getJobId(), getAllVertices());
/** * Returns a list of classpaths referring to the directories/JAR files required to run this job. * * @return list of classpaths referring to the directories/JAR files required to run this job */ public Collection<URL> getRequiredClasspaths() { return jobInformation.getRequiredClasspathURLs(); }
/** * Returns a list of BLOB keys referring to the JAR files required to run this job. * * @return list of BLOB keys referring to the JAR files required to run this job */ public Collection<PermanentBlobKey> getRequiredJarFiles() { return jobInformation.getRequiredJarFileBlobKeys(); }
@Override public String getJobName() { return jobInformation.getJobName(); }
public Configuration getJobConfiguration() { return jobInformation.getJobConfiguration(); }
/** * Returns the serializable {@link ArchivedExecutionConfig}. * * @return ArchivedExecutionConfig which may be null in case of errors */ @Override public ArchivedExecutionConfig getArchivedExecutionConfig() { // create a summary of all relevant data accessed in the web interface's JobConfigHandler try { ExecutionConfig executionConfig = jobInformation.getSerializedExecutionConfig().deserializeValue(userClassLoader); if (executionConfig != null) { return executionConfig.archive(); } } catch (IOException | ClassNotFoundException e) { LOG.error("Couldn't create ArchivedExecutionConfig for job {} ", getJobID(), e); } return null; }
if (!jobId.equals(jobInformation.getJobId())) { throw new TaskSubmissionException( "Inconsistent job ID information inside TaskDeploymentDescriptor (" + tdd.getJobId() + " vs. " + jobInformation.getJobId() + ")"); jobInformation.getJobId(), jobInformation.getJobName(), taskInformation.getJobVertexId(), tdd.getExecutionAttemptId(),
@Override public JobID getJobID() { return jobInformation.getJobId(); }
executionConfig.setFailTaskOnCheckpointError(failOnCheckpointErrors); JobInformation jobInformation = new JobInformation( new JobID(), "test job name",