Use the following instructions to set up configuration files for Pig:
Extract the Pig configuration files.
From the downloaded
scripts.zipfile, extract the files from theconfiguration_files/pigdirectory to a temporary directory.Copy the configuration files.
On all hosts where Pig will be executed, create the Pig configuration directory:
rm -r $PIG_CONF_DIR mkdir -p $PIG_CONF_DIR
Copy all the configuration files to
$PIG_CONF_DIR.Set appropriate permissions:
chmod -R 755 $PIG_CONF_DIR
where:
$PIG_CONF_DIRis the directory to store Pig configuration files. For example,/etc/pig/conf.$PIG_USERis the user owning the Pig services. For example,pig.$HADOOP_GROUPis a common group shared by services. For example,hadoop.

