开发者社区 问答 正文

WordCount中设置输出路径和输出路径的代码是什么?

WordCount中设置输出路径和输出路径的代码是什么?

展开
收起
游客daliwbfb2wo66 2021-12-05 12:59:19 286 分享 版权
1 条回答
写回答
取消 提交回答
  • FileInputFormat.setInputPaths(job,new Path(args[0]));
    FileOutputFormat.setOutputPath(job,new Path(args[1]));
    
    2021-12-05 12:59:39
    赞同 展开评论
问答地址: