hiped2 icon indicating copy to clipboard operation
hiped2 copied to clipboard

Cannot run example job (Appendix A)

Open guzu92 opened this issue 9 years ago • 0 comments

Hi, While running command hip hip.ch1.InvertedIndexJob --input hip/input --output hip/output I get the following error:

"File does not exist: hdfs://localhost:54310/usr/local/hip-2.0.0/lib/jopt-simple-4.5.jar"

Here are my env variables (Ubuntu .bashrc file)

export HIP_HOME=/usr/local/hip-2.0.0 export PATH=$HIP_HOME/bin:$PATH

export HADOOP_HOME=/usr/local/hadoop export PATH=$PATH:$HADOOP_HOME/bin export PATH=$PATH:$HADOOP_HOME/sbin export HADOOP_MAPRED_HOME=$HADOOP_HOME export HADOOP_COMMON_HOME=$HADOOP_HOME export HADOOP_HDFS_HOME=$HADOOP_HOME export YARN_HOME=$HADOOP_HOME export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"

I've run the following prior execution to inlcude the JAR file:

export HADOOP_CLASSPATH=$HADOOP_HOME/lib export HADOOP_CLASSPATH=/usr/local/hip-2.0.0/lib/jopt-simple-4.5.jar:$HADOOP_CLASSPATH

but I get the same error message about not finding the jopt-simple-4.5.jar

Thank you

guzu92 avatar Nov 05 '15 08:11 guzu92