MapReduce 另一种写法

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);
    }
}
相关推荐
©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页