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?
An extension to zsxwing's answer. You can also specify multiple jar paths as
pig -Dpig.additional.jars="/local/path/1/*:/local/path/2/*"