【发布时间】:2012-07-12 04:03:50
【问题描述】:
我正在尝试将第三方 jars 添加到 hadoop 作业中。我使用DistributedCache.addFileToClassPath 方法添加每个罐子。我可以看到mapred.job.classpath.files 已正确填充到作业 xml 文件中。
-libjars 对我也不起作用(很可能是因为我们没有使用 toolrunner)
有什么建议,有什么问题吗?
【问题讨论】:
-
您添加的 jars 是已经在 HDFS 中,还是在您的工作客户端本地?
-
你应该尽可能使用 ToolRunner
标签: hadoop mapreduce hive hdfs