Search in sources :

Example 1 with DefaultExecutionDeploymentReconciler

use of org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler in project flink by apache.

the class DefaultJobMasterServiceFactory method internalCreateJobMasterService.

private JobMasterService internalCreateJobMasterService(UUID leaderSessionId, OnCompletionActions onCompletionActions) throws Exception {
    final JobMaster jobMaster = new JobMaster(rpcService, JobMasterId.fromUuidOrNull(leaderSessionId), jobMasterConfiguration, ResourceID.generate(), jobGraph, haServices, slotPoolServiceSchedulerFactory, jobManagerSharedServices, heartbeatServices, jobManagerJobMetricGroupFactory, onCompletionActions, fatalErrorHandler, userCodeClassloader, shuffleMaster, lookup -> new JobMasterPartitionTrackerImpl(jobGraph.getJobID(), shuffleMaster, lookup), new DefaultExecutionDeploymentTracker(), DefaultExecutionDeploymentReconciler::new, initializationTimestamp);
    jobMaster.start();
    return jobMaster;
}
Also used : JobMaster(org.apache.flink.runtime.jobmaster.JobMaster) DefaultExecutionDeploymentTracker(org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentTracker) DefaultExecutionDeploymentReconciler(org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler) JobMasterPartitionTrackerImpl(org.apache.flink.runtime.io.network.partition.JobMasterPartitionTrackerImpl)

Example 2 with DefaultExecutionDeploymentReconciler

use of org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler in project flink-mirror by flink-ci.

the class DefaultJobMasterServiceFactory method internalCreateJobMasterService.

private JobMasterService internalCreateJobMasterService(UUID leaderSessionId, OnCompletionActions onCompletionActions) throws Exception {
    final JobMaster jobMaster = new JobMaster(rpcService, JobMasterId.fromUuidOrNull(leaderSessionId), jobMasterConfiguration, ResourceID.generate(), jobGraph, haServices, slotPoolServiceSchedulerFactory, jobManagerSharedServices, heartbeatServices, jobManagerJobMetricGroupFactory, onCompletionActions, fatalErrorHandler, userCodeClassloader, shuffleMaster, lookup -> new JobMasterPartitionTrackerImpl(jobGraph.getJobID(), shuffleMaster, lookup), new DefaultExecutionDeploymentTracker(), DefaultExecutionDeploymentReconciler::new, initializationTimestamp);
    jobMaster.start();
    return jobMaster;
}
Also used : JobMaster(org.apache.flink.runtime.jobmaster.JobMaster) DefaultExecutionDeploymentTracker(org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentTracker) DefaultExecutionDeploymentReconciler(org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler) JobMasterPartitionTrackerImpl(org.apache.flink.runtime.io.network.partition.JobMasterPartitionTrackerImpl)

Example 3 with DefaultExecutionDeploymentReconciler

use of org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler in project flink by splunk.

the class DefaultJobMasterServiceFactory method internalCreateJobMasterService.

private JobMasterService internalCreateJobMasterService(UUID leaderSessionId, OnCompletionActions onCompletionActions) throws Exception {
    final JobMaster jobMaster = new JobMaster(rpcService, JobMasterId.fromUuidOrNull(leaderSessionId), jobMasterConfiguration, ResourceID.generate(), jobGraph, haServices, slotPoolServiceSchedulerFactory, jobManagerSharedServices, heartbeatServices, jobManagerJobMetricGroupFactory, onCompletionActions, fatalErrorHandler, userCodeClassloader, shuffleMaster, lookup -> new JobMasterPartitionTrackerImpl(jobGraph.getJobID(), shuffleMaster, lookup), new DefaultExecutionDeploymentTracker(), DefaultExecutionDeploymentReconciler::new, initializationTimestamp);
    jobMaster.start();
    return jobMaster;
}
Also used : JobMaster(org.apache.flink.runtime.jobmaster.JobMaster) DefaultExecutionDeploymentTracker(org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentTracker) DefaultExecutionDeploymentReconciler(org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler) JobMasterPartitionTrackerImpl(org.apache.flink.runtime.io.network.partition.JobMasterPartitionTrackerImpl)

Aggregations

JobMasterPartitionTrackerImpl (org.apache.flink.runtime.io.network.partition.JobMasterPartitionTrackerImpl)3 DefaultExecutionDeploymentReconciler (org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler)3 DefaultExecutionDeploymentTracker (org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentTracker)3 JobMaster (org.apache.flink.runtime.jobmaster.JobMaster)3