MapReduce 另一种写法

来源:互联网 发布:华针数据恢复 编辑:程序博客网 时间:2024/05/18 01:11
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);    }}
原创粉丝点击