Search in sources :

Example 1 with JobShuffleContextImpl

use of org.apache.flink.runtime.shuffle.JobShuffleContextImpl in project flink by apache.

the class JobMaster method startJobExecution.

// ----------------------------------------------------------------------------------------------
// Internal methods
// ----------------------------------------------------------------------------------------------
// -- job starting and stopping
// -----------------------------------------------------------------
private void startJobExecution() throws Exception {
    validateRunsInMainThread();
    JobShuffleContext context = new JobShuffleContextImpl(jobGraph.getJobID(), this);
    shuffleMaster.registerJob(context);
    startJobMasterServices();
    log.info("Starting execution of job '{}' ({}) under job master id {}.", jobGraph.getName(), jobGraph.getJobID(), getFencingToken());
    startScheduling();
}
Also used : JobShuffleContext(org.apache.flink.runtime.shuffle.JobShuffleContext) JobShuffleContextImpl(org.apache.flink.runtime.shuffle.JobShuffleContextImpl)

Aggregations

JobShuffleContext (org.apache.flink.runtime.shuffle.JobShuffleContext)1 JobShuffleContextImpl (org.apache.flink.runtime.shuffle.JobShuffleContextImpl)1