CLASSPATH issue in Hadoop on Cygwin while running “hadoop version” command

前端 未结 3 527
孤城傲影
孤城傲影 2020-12-19 20:00

I have installed Hadoop version 2.1 beta from Apache on Windows using Cygwin terminal. Running the command hadoop version gets me this error :

E         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-19 21:02

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

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

    this solved it for me

提交回复
热议问题