【发布时间】:2015-02-07 15:11:25
【问题描述】:
我曾经使用 (This uses GenericOptionsParser) 运行 hadoop mapreduce
hadoop jar app.jar app -files /home/some/file#file
但是在最近版本的 hadoop 中我得到了
Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
那么如何使用 ToolRunner 实现 -files 选项在所有 mapreduce 节点之间共享?
【问题讨论】:
标签: hadoop distributed-caching toolrunner