You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Mark Laczin <ma...@gmail.com> on 2011/04/21 14:03:04 UTC

Question about SHIP keyword

Can it be used to pass around required configuration files?  I've got a file
that contains information that a UDF needs in its constructor, and I was
wondering if I could do something like:

DEFINE MyUDF org.package.name.MyUDF('$config') SHIP('$config')

I'd test on my own but unfortunately I won't have access to an actual HDFS
(that is, this is all running on pig -x local right now), until later.

-Mark