When running a java mapreduce job via hadoop, you can specify -archives option to select archived files that are to be uploaded with the job and that are automatically unarchived so that code can access those files.
Is there any equivalent thing in Pig? I'm writing a UDF that uses a library (that I dont have access to its source code). This library requires a path to a directory from which it loads some files inside.
How can I ship such a directory with a pig job?