use of com.thinkbiganalytics.spark.service.JobTrackerService in project kylo by Teradata.
the class SparkShellApp method jobTrackerService.
/**
* Creates the job tracker service.
*/
@Bean
public JobTrackerService jobTrackerService(@Nonnull final SparkScriptEngine sparkScriptEngine, @Nonnull final SparkListenerService sparkListenerService) {
final JobTrackerService jobTrackerService = new JobTrackerService(sparkScriptEngine.getClassLoader());
sparkListenerService.addSparkListener(jobTrackerService);
return jobTrackerService;
}
use of com.thinkbiganalytics.spark.service.JobTrackerService in project kylo by Teradata.
the class KyloShellConfig method jobTrackerService.
/**
* Creates the job tracker service.
*/
@Bean
public JobTrackerService jobTrackerService(@Nonnull final SparkScriptEngine sparkScriptEngine, @Nonnull final SparkListenerService sparkListenerService) {
final JobTrackerService jobTrackerService = new JobTrackerService(sparkScriptEngine.getClassLoader());
sparkListenerService.addSparkListener(jobTrackerService);
return jobTrackerService;
}
use of com.thinkbiganalytics.spark.service.JobTrackerService in project kylo by Teradata.
the class LivyWranglerConfig method jobTrackerService.
/**
* Creates the job tracker service.
*/
@Bean
@Primary
public JobTrackerService jobTrackerService(@Nonnull final SparkScriptEngine sparkScriptEngine, @Nonnull final SparkListenerService sparkListenerService) {
final JobTrackerService jobTrackerService = new JobTrackerService(sparkScriptEngine.getClassLoader());
sparkListenerService.addSparkListener(jobTrackerService);
return jobTrackerService;
}
Aggregations