public class MesosApplicationMasterRunner extends Object
JobManager
and MesosFlinkResourceManager.
The JobManager handles Flink job execution, while the MesosFlinkResourceManager handles container allocation and failure detection.
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
MesosApplicationMasterRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends org.apache.flink.runtime.jobmanager.MemoryArchivist> |
getArchivistClass() |
protected Class<? extends org.apache.flink.runtime.jobmanager.JobManager> |
getJobManagerClass() |
protected Class<? extends MesosFlinkResourceManager> |
getResourceManagerClass() |
static void |
main(String[] args)
The entry point for the Mesos AppMaster.
|
protected int |
run(String[] args)
The instance entry point for the Mesos AppMaster.
|
protected int |
runPrivileged(org.apache.flink.configuration.Configuration config,
org.apache.flink.configuration.Configuration dynamicProperties)
The main work method, must run as a privileged action.
|
public static void main(String[] args)
args - The command line arguments.protected int run(String[] args)
runPrivileged(Configuration, Configuration) as a
privileged action.args - The command line arguments.protected int runPrivileged(org.apache.flink.configuration.Configuration config,
org.apache.flink.configuration.Configuration dynamicProperties)
protected Class<? extends MesosFlinkResourceManager> getResourceManagerClass()
protected Class<? extends org.apache.flink.runtime.jobmanager.JobManager> getJobManagerClass()
protected Class<? extends org.apache.flink.runtime.jobmanager.MemoryArchivist> getArchivistClass()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.