LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2013, 03:39 PM   #1
tahani
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Rep: Reputation: Disabled
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..
 
Old 01-28-2013, 06:00 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mapreduce vardhan22 Linux - Distributions 7 04-20-2012 04:48 AM
LXer: bashreduce: A Bare-Bones MapReduce LXer Syndicated Linux News 0 07-08-2009 01:10 AM
LXer: MapReduce Part II LXer Syndicated Linux News 0 05-13-2008 10:41 PM
LXer: An Eclipse plug-in that simplifies MapReduce apps LXer Syndicated Linux News 0 04-10-2008 07:10 AM
LXer: Run MapReduce Tools for Eclipse on Linux LXer Syndicated Linux News 0 03-24-2007 09:46 AM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration