private ExecutionGraph createExecutionGraph(JobManagerJobMetricGroup currentJobManagerJobMetricGroup) throws JobExecutionException, JobException { return ExecutionGraphBuilder.buildGraph( null, jobGraph, jobMasterConfiguration.getConfiguration(), scheduledExecutorService, scheduledExecutorService, slotPool.getSlotProvider(), userCodeLoader, highAvailabilityServices.getCheckpointRecoveryFactory(), rpcTimeout, restartStrategy, currentJobManagerJobMetricGroup, blobServer, jobMasterConfiguration.getSlotRequestTimeout(), log); }
this.leaderElectionService = haServices.getJobManagerLeaderElectionService(jobGraph.getJobID()); final JobMasterConfiguration jobMasterConfiguration = JobMasterConfiguration.fromConfiguration(configuration); this.rpcTimeout = jobMasterConfiguration.getRpcTimeout();
this.resourceId = checkNotNull(resourceId); this.jobGraph = checkNotNull(jobGraph); this.rpcTimeout = jobMasterConfiguration.getRpcTimeout(); this.highAvailabilityServices = checkNotNull(highAvailabilityService); this.blobServer = checkNotNull(blobServer); jobMasterConfiguration.getConfiguration()); OperationLogStoreLoader.loadOperationLogStore(jobGraph.getJobID(), jobMasterConfiguration.getConfiguration()));
public static JobMasterConfiguration fromConfiguration(Configuration configuration) { final Time rpcTimeout = AkkaUtils.getTimeoutAsTime(configuration); final Time slotRequestTimeout = Time.milliseconds(configuration.getLong(JobManagerOptions.SLOT_REQUEST_TIMEOUT)); final String tmpDirectory = ConfigurationUtils.parseTempDirectories(configuration)[0]; return new JobMasterConfiguration( rpcTimeout, slotRequestTimeout, tmpDirectory, configuration); } }
/** * Dispose the savepoint stored under the given path. * * @param savepointPath path where the savepoint is stored */ private void disposeSavepoint(String savepointPath) { try { // delete the temporary savepoint Checkpoints.disposeSavepoint( savepointPath, jobMasterConfiguration.getConfiguration(), userCodeLoader, log); } catch (FlinkException | IOException e) { log.info("Could not dispose temporary rescaling savepoint under {}.", savepointPath, e); } }
this.resourceId = checkNotNull(resourceId); this.jobGraph = checkNotNull(jobGraph); this.rpcTimeout = jobMasterConfiguration.getRpcTimeout(); this.highAvailabilityServices = checkNotNull(highAvailabilityService); this.blobServer = checkNotNull(blobServer);
this.leaderElectionService = haServices.getJobManagerLeaderElectionService(jobGraph.getJobID()); final JobMasterConfiguration jobMasterConfiguration = JobMasterConfiguration.fromConfiguration(configuration); this.rpcTimeout = jobMasterConfiguration.getRpcTimeout();
public static JobMasterConfiguration fromConfiguration(Configuration configuration) { final Time rpcTimeout = AkkaUtils.getTimeoutAsTime(configuration); final Time slotRequestTimeout = Time.milliseconds(configuration.getLong(JobManagerOptions.SLOT_REQUEST_TIMEOUT)); final String tmpDirectory = ConfigurationUtils.parseTempDirectories(configuration)[0]; return new JobMasterConfiguration( rpcTimeout, slotRequestTimeout, tmpDirectory, configuration); } }
/** * Dispose the savepoint stored under the given path. * * @param savepointPath path where the savepoint is stored */ private void disposeSavepoint(String savepointPath) { try { // delete the temporary savepoint Checkpoints.disposeSavepoint( savepointPath, jobMasterConfiguration.getConfiguration(), userCodeLoader, log); } catch (FlinkException | IOException e) { log.info("Could not dispose temporary rescaling savepoint under {}.", savepointPath, e); } }
this.resourceId = checkNotNull(resourceId); this.jobGraph = checkNotNull(jobGraph); this.rpcTimeout = jobMasterConfiguration.getRpcTimeout(); this.highAvailabilityServices = checkNotNull(highAvailabilityService); this.blobServer = checkNotNull(blobServer);
private ExecutionGraph createExecutionGraph(JobManagerJobMetricGroup currentJobManagerJobMetricGroup) throws JobExecutionException, JobException { return ExecutionGraphBuilder.buildGraph( null, jobGraph, jobMasterConfiguration.getConfiguration(), scheduledExecutorService, scheduledExecutorService, slotPool.getSlotProvider(), userCodeLoader, highAvailabilityServices.getCheckpointRecoveryFactory(), rpcTimeout, restartStrategy, currentJobManagerJobMetricGroup, blobServer, jobMasterConfiguration.getSlotRequestTimeout(), log); }
this.leaderElectionService = haServices.getJobManagerLeaderElectionService(jobID); final JobMasterConfiguration jobMasterConfiguration = JobMasterConfiguration.fromConfiguration(configuration); this.rpcTimeout = jobMasterConfiguration.getRpcTimeout();
public static JobMasterConfiguration fromConfiguration(Configuration configuration) { final Time rpcTimeout = AkkaUtils.getTimeoutAsTime(configuration); final Time slotRequestTimeout = Time.milliseconds(configuration.getLong(JobManagerOptions.SLOT_REQUEST_TIMEOUT)); final String tmpDirectory = ConfigurationUtils.parseTempDirectories(configuration)[0]; return new JobMasterConfiguration( rpcTimeout, slotRequestTimeout, tmpDirectory, configuration); } }
/** * Dispose the savepoint stored under the given path. * * @param savepointPath path where the savepoint is stored */ private void disposeSavepoint(String savepointPath) { try { // delete the temporary savepoint Checkpoints.disposeSavepoint( savepointPath, jobMasterConfiguration.getConfiguration(), userCodeLoader, log); } catch (FlinkException | IOException e) { log.info("Could not dispose temporary rescaling savepoint under {}.", savepointPath, e); } }
private ExecutionGraph createExecutionGraph( JobGraph jobGraph, JobManagerJobMetricGroup currentJobManagerJobMetricGroup) throws JobExecutionException, JobException { return ExecutionGraphBuilder.buildGraph( null, jobGraph, jobMasterConfiguration.getConfiguration(), scheduledExecutorService, scheduledExecutorService, slotPool.getSlotProvider(), userCodeLoader, highAvailabilityServices.getCheckpointRecoveryFactory(), rpcTimeout, restartStrategy, currentJobManagerJobMetricGroup, blobServer, resultPartitionLocationTrackerProxy, jobMasterConfiguration.getSlotRequestTimeout(), log); }