简体   繁体   中英

Can not operate the option “Run on Hadoop” in Eclipse

I installed Hadoop-0.20.2(single node) and configured it on Linux(Centos).I installed Eclipse and added Eclipse-plugin for Hadoop. I put dataset in /home/Hadoop/input/ali.txt . I am not able to run Wordcount example on Hadoop in Eclipse. When I select the option "to Run on Hadoop", Something doesn't happen. In addition , when running Wordcount example in Eclipse as java application, encounter with the following error:

Input path does not exist: file:/home/hadoop/workspace/wordcount/home/hadoop/input/ali.txt 

help me.

Without the details about which is your $HADOOP_HOME directory and how you configured eclipse before trying to run the program, it is difficult to pin-point the error. However, this is a nice step-by-step guide on creating and testing a Hadoop project using eclipse.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM