- correctly installed Hadoop
- define a variable $HADOOP_ROOT containing path to hadoop installation
export HADOOP_ROOT="/path/to/hadoop-2.7.1"
- make sure $HADOOP_CLASSPATH is set
export HADOOP_CLASSPATH=${JAVA_HOME}/lib/tools.jar
cd hadoop
chmod 777 run.sh
./run.sh
- correctly installed Pig Latin
- define a variable $PIG_ROOT containing path to pig installation
export PIG_ROOT="/path/to/pig-0.15.0"
cd pig
chmod 777 run.sh
./run.sh