搭建hadoop,报错Could not find or load main class org.apache.hadoop.util.VersionInfo

搭建hadoop,总是报Could not find or load main class org.apache.hadoop.util.VersionInfo错误,纠结好久,终于解决,但是不知道为什么闭嘴 ,方法如下

you can also add the following to your ~/.bashrc

export HADOOP_CLASSPATH=$(cygpath -pw $(hadoop classpath)):$HADOOP_CLASSPATH

this solved it for me

原文链接:

http://stackoverflow.com/questions/19363402/classpath-issue-in-hadoop-on-cygwin-while-running-hadoop-version-command

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页