List of usage examples for org.apache.hadoop.hdfs.server.datanode DataNode main
public static void main(String args[])
From source file:io.aos.hadoop.HdfsDataNode.java
License:Apache License
public static void main(String... args) throws Exception { new AosProcessLauncher() { @Override/*from w w w .j a va2 s .c om*/ public void process() throws Exception { DataNode.main(new String[] {}); } }.launch("HdfsDataNode"); while (true) { LOGGER.info("Sleeping..."); TimeUnit.MINUTES.sleep(1); } }