LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can not run wordcount example using MapReduce (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-run-wordcount-example-using-mapreduce-4175447580/)

tahani 01-28-2013 02:39 PM

can not run wordcount example using MapReduce
 
Dear;
I can not run a wordcount example using MapReduce and Hadoop on java eclipse

so please I need step by step how I can run this example..

already i was install hadoop and eclipse

the error which appear is:
tahani@ubuntu:~$ javac -classpath ${HADOOP_HOME}/hadoop-${HADOOP_VERSION}-core.jar -d wordcount_classes WordCount.java
javac: file not found: WordCount.java
Usage: javac <options> <source files>
use -help for a list of possible options


need help..

Kustom42 01-28-2013 05:00 PM

oi... The error is right infront of you.

javac: file not found: WordCount.java

If the file isn't found then your are not specifying it correctly, try using the absolute path to the file and not just a file name. File names are going to be searched(in general) against your $PATH shell variable and if it is not in one of those folders it won't find it.


All times are GMT -5. The time now is 09:29 AM.