how to include external jar file using PIG

apache-pig, hadoop

Solution

register /local/path/to/myJar.jar

Problem

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?

Original source