Package org.apache.flink.client

Examples of org.apache.flink.client.LocalExecutor


      fw.close();
     
      // run WordCount
      WordCount wc = new WordCount();

      LocalExecutor executor = new LocalExecutor();
      executor.setDefaultOverwriteFiles(true);
      executor.setTaskManagerNumSlots(DOP);
      executor.start();
     
      executor.executePlan(wc.getPlan(new Integer(DOP).toString(), inFile.toURI().toString(),
          outFile.toURI().toString()));
      executor.stop();
    } catch (Exception e) {
      e.printStackTrace();
      Assert.fail(e.getMessage());
    }
   
View Full Code Here

TOP

Related Classes of org.apache.flink.client.LocalExecutor

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.