If you are going to set up pig, you need to be aware of the pig.properties file.
It has things like the cluster setting, which is important to set correctly. It also has things like whether or not to run it locally or remotely.
See this thread on the Pig mailing list for how to set the cluster setting:
6 hours ago