Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11315

Cannot compile Hadoop Code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • 2.2.0
    • None
    • bin
    • None
    • Suse desktop 11.0 on i7 chipset, running jdk1.7.0_71 and Hadoop2.2.0

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anand_vihar Anand Murali
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: