AnsweredAssumed Answered

not a valid jar

Question asked by rajkiran_paul on Jun 8, 2014
Latest reply on Jun 8, 2014 by rajkiran_paul
i have downloded hadoop-2.2.0 from apache.
i did the following

    tar zxf hadoop-2.2.0.tar.gz
    export HADOOP_HOME=$(pwd)/hadoop-2.2.0
    export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-i386
    $HADOOP_HOME/bin/hadoop version
    Hadoop 2.2.0

then i did

    sudo apt-get install git
    git clone git://github.com/tomwhite/hadoop-drdobbs.git
    cd hadoop-drdobbs
    sudo apt-get install maven

then i did
at data/*.tsv
i wrote three java class
when i am trying to run by this command

    "$HADOOP_HOME/bin/hadoop jar target/hadoop-drdobbs-1.0.0.jar \
       com.tom_e_white.drdobbs.mapreduce.AggregateJob data output"
it showing the error
Not a valid JAR: /home/rajkiran/hadoop-drdobbs/target/hadoop-drdobbs-1.0.0.jar
please help

Outcomes