PATH variable is correct. When everyone has mentioned that this is the CLASSPATH issue i couldn't locate what exactly is the issue with CLASSPATH.

here is what i have set up in my .profile file

export CLASSPATH=$CLASSPATH:/usr/lib/hadoop/hadoop-common-2.0.0-cdh4.4.0.jar

Thank you,
Manish.

On Wednesday 11 December 2013 09:24 PM, Hardik Pandya wrote:
its a classpath issue, also make sure your PATH is correct

export HIVE_HOME=/home/username/yourhivedir
$ export PATH=$HIVE_HOME/bin:$PATH


On Wed, Dec 11, 2013 at 9:37 AM, Manish <[email protected] <mailto:[email protected]>> wrote:

    Adam,

    Here is what i get when run $ hadoop version

    Hadoop 2.0.0-cdh4.4.0
    Subversion
    
file:///var/lib/jenkins/workspace/generic-package-ubuntu64-12-04/CDH4.4.0-Packaging-Hadoop-2013-09-03_18-48-35/hadoop-2.0.0+1475-1.cdh4.4.0.p0.23~precise/src/hadoop-common-project/hadoop-common
    -r c0eba6cd38c984557e96a16ccd7356b7de835e79
    Compiled by jenkins on Tue Sep  3 19:33:54 PDT 2013
    From source with checksum ac7e170aa709b3ace13dc5f775487180
    This command was run using
    /usr/lib/hadoop/hadoop-common-2.0.0-cdh4.4.0.jar

    Do you have specific idea what could have gone wrong with Hadoop
    Classpath?

    Thank You,
    Manish.


    On Wednesday 11 December 2013 04:51 AM, Adam Kawa wrote:

        $ hadoop version




Reply via email to