public class YarnClusterDescriptorV2 extends AbstractYarnClusterDescriptor
AbstractYarnClusterDescriptor
which is used to start the new application master for a job under flip-6.
This implementation is now however tricky, since YarnClusterDescriptorV2 is related YarnClusterClientV2, but AbstractYarnClusterDescriptor is related
to YarnClusterClient. We should let YarnClusterDescriptorV2 implements ClusterDescriptor<YarnClusterClientV2>.
However, in order to use the code in AbstractYarnClusterDescriptor for setting environments and so on, we make YarnClusterDescriptorV2 as now.shipFiles
Constructor and Description |
---|
YarnClusterDescriptorV2(Configuration flinkConfiguration,
String configurationDirectory) |
Modifier and Type | Method and Description |
---|---|
protected String |
getYarnJobClusterEntrypoint() |
protected String |
getYarnSessionClusterEntrypoint()
The class to bootstrap the application master of the Yarn cluster (runs main method).
|
addLibFolderToShipFiles, addShipFiles, createYarnClusterClient, deployInternal, deployJobCluster, deploySessionCluster, getClusterDescription, getDynamicPropertiesEncoded, getFlinkConfiguration, getYarnClient, getZookeeperNamespace, hasUserJarFiles, isDetachedMode, retrieve, setDetachedMode, setDynamicPropertiesEncoded, setLocalJarPath, setName, setProvidedUserJarFiles, setQueue, setupApplicationMasterContainer, setZookeeperNamespace, startAppMaster, validateClusterResources
public YarnClusterDescriptorV2(Configuration flinkConfiguration, String configurationDirectory)
protected String getYarnSessionClusterEntrypoint()
AbstractYarnClusterDescriptor
getYarnSessionClusterEntrypoint
in class AbstractYarnClusterDescriptor
protected String getYarnJobClusterEntrypoint()
getYarnJobClusterEntrypoint
in class AbstractYarnClusterDescriptor
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.