public class Runner extends Configured implements Tool {
@Override
public int run(String[] args) throws Exception {
return 0;
}
public static void main(String[] args) throws Exception {
args = new String[]{"c:/wordcount/smallinput", "c:/wordcount/smallout"};
int exitCode = ToolRunner.run(new Runner(), args);
System.exit(exitCode);
}
}
MapReduce 另一种写法
最新推荐文章于 2023-02-07 17:12:40 发布