[ 
https://issues.apache.org/jira/browse/HADOOP-11315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216019#comment-14216019
 ] 

Anand Murali commented on HADOOP-11315:
---------------------------------------

Dear San:
I have not made any changes to hadoop classpath. Except for the five exports 
above, there is no change in hadoop-env.sh. Interestingly, if I do not include 
the above changes and run
hadoop version

I get java errors. But when I include above, hadoop version succeeds saying 
that it included required files from hadoop/share. Most of hadoop classes files 
are under the share directory. I am having a hard time de-bugging this issue. 
Your help is deeply appreciated.
Thanks
 Anand Murali  11/7, 'Anand Vihar', Kandasamy St, MylaporeChennai - 600 004, 
IndiaPh: (044)- 28474593/ 43526162 (voicemail) 

     On Tuesday, November 18, 2014 3:07 PM, Tsuyoshi OZAWA (JIRA) 
<[email protected]> wrote:
   

 
    [ 
https://issues.apache.org/jira/browse/HADOOP-11315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215988#comment-14215988
 ] 

Tsuyoshi OZAWA commented on HADOOP-11315:
-----------------------------------------

Please check the classpath you're using.




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




> 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)

Reply via email to