Skip to content

Cannot run example job (Appendix A) #4

@guzu92

Description

@guzu92

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions