I installed Hadoop (1.0.2) for a single node on Windows 7 with Cygwin and it works. However, I cannot get PIG (0.10.0) to see Hadoop.
1) "Error: JAVA_HOME is not set."
I added this line to the pigs (in the basket): export JAVA_HOME = / cygdrive / c / PROGRA ~ 1 / Java / jdk1.7.0_05
2) which: no hadoop in (/usr/local/b.....) cygpath: cannot create short name of C:\pig-0.10.0\logs Cannot locate pig.jar. do 'ant jar', and try again
I tried to add below line to the pig, and it still does not find hadoop. What should I do?
export PIG_HOME="/cygdrive/c/pig-0.10.0" export PATH=$PATH:$PIG_HOME/bin export PIG_CLASSPATH=/cygdrive/hadoop/hadoop-1.0.2/conf
cuneyt
source share