You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Anand Murali (JIRA)" <ji...@apache.org> on 2014/01/31 12:12:09 UTC

[jira] [Created] (HADOOP-10319) Unable to run Hadoop (2.2.0) commands on Cygwin (2.831) on Windows XP 3

Anand Murali created HADOOP-10319:
-------------------------------------

             Summary: Unable to run Hadoop (2.2.0) commands on Cygwin (2.831) on Windows XP 3
                 Key: HADOOP-10319
                 URL: https://issues.apache.org/jira/browse/HADOOP-10319
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
    Affects Versions: 2.2.0
         Environment: Running Cygwin 2.831 on Windows XP SP3
            Reporter: Anand Murali
             Fix For: 2.2.0


Did Following on starting Shell

1. ssh localhost
2. cd /cygdrive/e/hadoop-2.2.0
3. export JAVA_HOME=/cygdrive/e/JDK
4. export HADOOP_INSTALL=/cygdrive/e/hadoop-2.2.o
5. export PATH=$PATH:$JAVA_HOME:$HADOOP_INSTALL/bin:$HADOOP_INSTALL/sbin

I have installed JDK1.7.0_51

At $hadoop version (throws) Error: Could not find or load main class org.apache.hadoop.util.Versioninfo

Similar errors are thrown for fs and jar. I have not made any changes to any environment variables or scripts.

I am new to Hadoop-2.2.0 and following text Hadoop- The Definitive Guide by Tom white where it has been suggested that Cygwin can be used with Windows and Hadoop 2.

Advise appreciated. Thanks

Anand




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)