Package com.cloudera.kitten.appmaster.service

Examples of com.cloudera.kitten.appmaster.service.ApplicationMasterServiceImpl


public class ApplicationMaster extends Configured implements Tool {

  @Override
  public int run(String[] args) throws Exception {
    ApplicationMasterParameters params = new LuaApplicationMasterParameters(getConf());
    ApplicationMasterService service = new ApplicationMasterServiceImpl(params, getConf());
    service.startAndWait();
    while (service.hasRunningContainers()) {
      Thread.sleep(1000);
    }
    service.stopAndWait();
    return 0;
  }
View Full Code Here

TOP

Related Classes of com.cloudera.kitten.appmaster.service.ApplicationMasterServiceImpl

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.