List of usage examples for org.apache.hadoop.mapreduce.v2.hs JobHistoryServer main
public static void main(String[] args)
From source file:io.aos.hadoop.MapReduceJobHistory.java
License:Apache License
public static void main(String... args) throws Exception { new AosProcessLauncher() { @Override/* w w w. j a v a2 s.com*/ public void process() throws Exception { JobHistoryServer.main(new String[] {}); } }.launch("MapReduceJobHistory"); while (true) { LOGGER.info("Sleeping..."); TimeUnit.MINUTES.sleep(1); } }