The following links turn to be very useful to setup Pig and Hive in Hadoop 2.2.0.
My platform is Mac OS X 10.9.1
- Start with a single node setup:
- About set path
When set up environment, we may change path from time to time. If directly use export in the terminal to set the path (e.g. export HADOOP-INSTALL=~/usr/local/hadoop-2.2.0), it requires re-set (or re-export) every time you restart the computer. So, instead of setting path by using export, you can edit the bash profile
then insert the export command into the .bash_profile file
(export JAVA_HOME=`/usr/libexec/java_home -v 1.7`)