MapReduce入门“Hello World” ----WordCount

项目结构 具体代码 WordCout.java FileInputFormat.setInputPaths(job, new Path("/input/input.txt")); 这一步可以设置运行时参数,也就是String[] args 修改为 String[] otherArgs = (new GenericOptionsParser(conf, args)).getRemainingArgs
相关文章
相关标签/搜索