Package eu.stratosphere.client

Examples of eu.stratosphere.client.LocalExecutor


     
      // run WordCount
      WordCount wc = new WordCount();
      wc.getPlan("4", inFile.toURI().toString(), outFile.toURI().toString());
     
      LocalExecutor executor = new LocalExecutor();
      LocalExecutor.setLoggingLevel(Level.WARN);
      executor.setDefaultOverwriteFiles(true);
      executor.start();
     
      executor.executePlan(wc.getPlan("4", 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 eu.stratosphere.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.