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/11/18 09:26:34 UTC

[jira] [Created] (HADOOP-11315) Cannot compile Hadoop Code

Anand Murali created HADOOP-11315:
-------------------------------------

             Summary: Cannot compile Hadoop Code
                 Key: HADOOP-11315
                 URL: https://issues.apache.org/jira/browse/HADOOP-11315
             Project: Hadoop Common
          Issue Type: Bug
          Components: bin
    Affects Versions: 2.2.0
         Environment: Suse desktop 11.0 on i7 chipset, running jdk1.7.0_71 and Hadoop2.2.0
            Reporter: Anand Murali
            Priority: Critical


Following customizations made to hadoop-env.sh to get Hadoop started

export JAVA_HOME=/home/anand_vihar/jdk1.7.0_71/
export HADOOP_INSTALL=/home/anand_vihar/hadoop-2.2.0/*
export HADOOP_HOME=:$HADOOP_INSTALL
export PATH=:$PATH:$HADOOP_INSTALL/bin:$HADOOP_INSTALL/sbin:$HADOOP_HOME/share:$JAVA_HOME:$JAVA_HOME/bin

Next at linux prompt typed

$javac MaxTemperatureMapper.java

compile fails with class not found errors. Tried giving direct classpath to share as above and still errors out. However, on typing "hadoop version". it runs and picks up the required jars in share.. Have raised this issue a coupld of times in the last 1 week and it is closed as not replicable. But issue persists. Checked on user forums, but no help. Request assistance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)