Module datarush.hadoop.core
Class YarnClusterJobExecutor
java.lang.Object
com.pervasive.datarush.cal.dr.AbstractDRJobExecutor
com.actian.dataflow.cal.yarn.client.YarnClusterJobExecutor
- All Implemented Interfaces:
JobExecutorService
public class YarnClusterJobExecutor
extends com.pervasive.datarush.cal.dr.AbstractDRJobExecutor
A job executor is created for each new job. The executor wraps several pieces of needed information
including the file client, job master (started with the
start(FileClient, JobSpecifier) method),
and the job specifier (which itself contains the classpath specifier, job info, requested resources,
and storage management path for the job).-
Nested Class Summary
Nested classes/interfaces inherited from class com.pervasive.datarush.cal.dr.AbstractDRJobExecutor
com.pervasive.datarush.cal.dr.AbstractDRJobExecutor.JobMasterHelper -
Field Summary
Fields inherited from class com.pervasive.datarush.cal.dr.AbstractDRJobExecutor
fileClient, jobSpec, MUTEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHas the side effect of starting the application master.protected com.pervasive.datarush.cal.dr.AbstractDRJobExecutor.JobMasterHelperstart(FileClient fileClient, JobSpecifier jobSpec) Methods inherited from class com.pervasive.datarush.cal.dr.AbstractDRJobExecutor
ensureJobMaster, getJobInformation, startShutdown, submit
-
Constructor Details
-
YarnClusterJobExecutor
-
-
Method Details
-
getExternalStorageManager
Has the side effect of starting the application master.- Returns:
- the storage manager
-
start
protected com.pervasive.datarush.cal.dr.AbstractDRJobExecutor.JobMasterHelper start(FileClient fileClient, JobSpecifier jobSpec) - Specified by:
startin classcom.pervasive.datarush.cal.dr.AbstractDRJobExecutor
-