Tag Archives: pig

Passing parameters to Pig scripts

The Pig scripting language Pig Latin allows for parameter substitution at run-time.  Like any script, the ability to define parameters makes it far easier to share code with other users.  To do this in Pig Latin, you simply modify your … Continue reading

Posted in hadoop, pig, scripting | Tagged , | Leave a comment

Configuring pig to work with a remote Hadoop cluster

1. First, download a stable release of Pig from here. 2. As root (or some other privileged user), untar the pig tarball to /usr/local; this will create a sub-directory like /usr/local/pig.0.11.1. 3. Create a symbolic link (to make things easier) … Continue reading

Posted in hadoop, pig, scripting, Uncategorized | Tagged , , | 1 Comment