Details
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
- duplicates
-
HADOOP-11303 Compilation problems due to Path in Java + Hadoop
- Resolved