use of org.talend.webhcat.launcher.fs.HadoopFileSystem in project tdi-studio-se by Talend.
the class MapReduceJob method main.
public static void main(String[] args) throws Exception {
Configuration conf = new Configuration();
conf.set("fs.default.name", "hdfs://hdp21:8020/");
FileSystem fs = new HadoopFileSystem(conf);
Job J = new MapReduceJob(fs);
J.parseArg(args);
J.callWS(J.sendFiles(), false);
J.execute();
}
Aggregations