30749/hadoop-error-could-load-class-apache-hadoop-util-versioninfo
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.
Hi@Akshitha, This seems like a path issue. you ...READ MORE
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
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
It looks like the path is not ...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.