31779/hadoop-error-could-not-find-load-main-class-tools-javac-main
I am trying to compile my java file using hadoop but when i do that, i get the following error:
Error: Could not find or load main class com.sun.tools.javac.Main
How to solve this?
It looks like the path is not set right. Try this:
export HADOOP_CLASSPATH=$JAVA_HOME/lib/tools.jar
Hey, I guess the error you are facing ...READ MORE
Hey! The error seems like the problem is ...READ MORE
Hi@fwood, According to your configuration, you didn't set ...READ MORE
Hi, @Kamaraj, It looks like a path issue, ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
In your case there is no difference ...READ MORE
You have to add HADOOP_CLASSPATH environment parameter: expor ...READ MORE
This seems like a path issue. Add the ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.