如何使用 PIG 包含外部 jar 文件 [英] how to include external jar file using PIG
本文介绍了如何使用 PIG 包含外部 jar 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用 hadoop 命令运行 mapreduce 作业时,我使用 -libjars 将我的 jar 设置到缓存和类路径.如何在 PIG 中做这样的事情?
When I run a mapreduce job using hadoop command, I use -libjars to setup my jar to the cache and the classpath. How to do something like this in PIG?
推荐答案
register /local/path/to/myJar.jar
这篇关于如何使用 PIG 包含外部 jar 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文