I installed Hadoop on Windows using Cygwin terminal. When I run hadoop version command, I get this error:
Error: Could not find or load main class org.apache.hadoop.util.VersionInfo
How to sovle this?
This seems like a path issue.
Add the following to your ~/.bashrc
export HADOOP_CLASSPATH=$(cygpath -pw $(hadoop classpath)):$HADOOP_CLASSPATH
This should work
I guess the error you are facing ...READ MORE
The error seems like the problem is ...READ MORE
You need to point the HADOOP_PREFIX to ...READ MORE
The error might be due to the ...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
put <localSrc> <dest>
copyFr ...READ MORE
In your case there is no difference ...READ MORE
You have to add HADOOP_CLASSPATH environment parameter:
export ...READ MORE
It looks like the path is not ...READ MORE
Already have an account? Sign in.