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
You need to add this in your /root/.bashrc file. It is available in your root.
This seems like a path issue. you ...READ MORE
I guess the error you are facing ...READ MORE
The error seems like the problem is ...READ MORE
According to your configuration, you didn't set ...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
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
It looks like the path is not ...READ MORE
Already have an account? Sign in.