Package org.apache.flink.runtime

Examples of org.apache.flink.runtime.ExecutionMode


 
  private final List<TaskManager> taskManagers = new ArrayList<TaskManager>();

 
  public LocalInstanceManager(int numTaskManagers) throws Exception {
    ExecutionMode execMode = numTaskManagers == 1 ? ExecutionMode.LOCAL : ExecutionMode.CLUSTER;
   
    final int ipcPort = GlobalConfiguration.getInteger(ConfigConstants.TASK_MANAGER_IPC_PORT_KEY, -1);
    final int dataPort = GlobalConfiguration.getInteger(ConfigConstants.TASK_MANAGER_DATA_PORT_KEY, -1);
   
    for (int i = 0; i < numTaskManagers; i++) {
View Full Code Here


    }

    final String configDir = line.getOptionValue(configDirOpt.getOpt(), null);
    final String executionModeName = line.getOptionValue(executionModeOpt.getOpt(), "local");
   
    ExecutionMode executionMode = null;
    if ("local".equals(executionModeName)) {
      executionMode = ExecutionMode.LOCAL;
    } else if ("cluster".equals(executionModeName)) {
      executionMode = ExecutionMode.CLUSTER;
    } else {
View Full Code Here

TOP

Related Classes of org.apache.flink.runtime.ExecutionMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.