List of usage examples for org.apache.hadoop.yarn.server.resourcemanager ResourceManager main
public static void main(String argv[])
From source file:io.aos.hadoop.YarnResourceManager.java
License:Apache License
public static void main(String... args) throws Exception { new AosProcessLauncher() { @Override// www . ja v a2s.com public void process() throws Exception { ResourceManager.main(new String[] {}); } }.launch("YarnResourceManager"); while (true) { LOGGER.info("Sleeping..."); TimeUnit.MINUTES.sleep(1); } }