29390/hadoop-mapreduce-error-could-find-load-class-tools-javac-main
I have properly installed hadoop but when I run the following command:
Compile WordCount.java and create a jar: $ bin/hadoop com.sun.tools.javac.Main WordCount.java
I get this error:
Error: Could not find or load main class com.sun.tools.javac.Main
You have to add HADOOP_CLASSPATH environment parameter:
export HADOOP_CLASSPATH=/usr/lib/jvm/java-7-openjdk-amd64/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
I would recommend you to use FileSystem.rename(). ...READ MORE
I am not sure about the 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
It looks like the path is not ...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.