Comience Hadoop y hilo con Java

import java.io.File;


String hadoop_home =  System.getenv("HADOOP_HOME"); //C:\hadoop-3.1.0

Runtime.getRuntime().exec("cmd /c start-all.cmd",null,new File(hadoop_home+"./sbin"));
PanosG