List of usage examples for org.apache.hadoop.yarn.server.nodemanager NodeManager main
public static void main(String[] args) throws IOException
From source file:io.aos.hadoop.YarnNodeManager.java
License:Apache License
public static void main(String... args) throws Exception { new AosProcessLauncher() { @Override/*from w w w.ja v a 2 s.c o m*/ public void process() throws Exception { NodeManager.main(new String[] {}); } }.launch("YarnNodeManager"); while (true) { LOGGER.info("Sleeping..."); TimeUnit.MINUTES.sleep(1); } }