java.lang.Object
com.actian.dataflow.cal.yarn.server.MasterServer
The class invoked as the Dataflow application master. It is responsible for:
- Registering with the resource manager as an application master
- Registering with the Dataflow cluster manager (for stats)
- Supporting the file service interface for file transfers
- Supporting the remote service interface for gathering stats
- Negotiating with the resource manager for resources
- Starting/managing worker containers
-
Constructor Summary
ConstructorsConstructorDescriptionMasterServer(com.pervasive.datarush.hadoop.shims.yarn.AMRMClient amClient, FileClient client, Path drfsBaseDir, JobServerInformation jobWorkerInfo, JobSpecifier jobSpecifier, com.pervasive.datarush.cluster.ExecutorOptions execOptions, List<com.pervasive.datarush.hadoop.shims.yarn.YarnNodeDescriptor> nodeDescriptors, Path cacheLocation, Path libArchiveLocation, String applicationID, int jobPriority, com.pervasive.datarush.cluster.preferences.ClusterPreferences clusterPreferences, Map<String, ApplicationResource> appResources) -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.pervasive.datarush.cluster.PathInfostatic voidvoidshutdown()
-
Constructor Details
-
MasterServer
public MasterServer(com.pervasive.datarush.hadoop.shims.yarn.AMRMClient amClient, FileClient client, Path drfsBaseDir, JobServerInformation jobWorkerInfo, JobSpecifier jobSpecifier, com.pervasive.datarush.cluster.ExecutorOptions execOptions, List<com.pervasive.datarush.hadoop.shims.yarn.YarnNodeDescriptor> nodeDescriptors, Path cacheLocation, Path libArchiveLocation, String applicationID, int jobPriority, com.pervasive.datarush.cluster.preferences.ClusterPreferences clusterPreferences, Map<String, ApplicationResource> appResources)
-
-
Method Details
-
ensureService
-
shutdown
public void shutdown() -
getDRFSBaseInfo
public com.pervasive.datarush.cluster.PathInfo getDRFSBaseInfo() -
awaitShutdown
- Throws:
InterruptedException
-
main
- Throws:
Exception
-