Hello David,

Thank you for responding to my help.  I have only been using version 0.11.2.
I have to run grep in the single node as illustrated in the manual online
and it looks successful.  Doesn't the 
'bin/hadoop jar hadoop-0.11.3-dev-examples.jar grep /bar/ac /tmp/ac foo'
test the single node mode only?
Because toward the end of the manual the distributed version of sample Grep
is mentioned as 
"bin/hadoop org.apache.hadoop.samples.Grep myinput myoutput 'dfs'"
I am trying to make sure it runs on 2 nodes before I add more machine to it.
Thank you.

Best Regards
 
Richard Yang
[EMAIL PROTECTED]
[EMAIL PROTECTED]
 
 
-----Original Message-----
From: David Bowen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 28, 2007 10:21 PM
To: [email protected]
Subject: Re: Problem running sample Grep


Here's how I run it:

bin/hadoop jar hadoop-0.11.3-dev-examples.jar grep /bar/ac /tmp/ac foo

- David

Richard Yang wrote:
> Hello,
>
>  
>
> I am new to Hadoop.  After setting my testing environment (which I am not
> sure if it is correct), I tried to run the Grep sample by
>
> Bin/hadoop org.apache.hadoop.samples.Grep myinput myoutput 'dfs'
>
> However, it always says 'Exception in thread "main"
> java.lang.NoClassDefFoundError: org/apache/hadoop/examples/Grep'
>
> I didn't know what went wrong.
>
> Any help is appreciated.  Thanks.
>
>  
>
> Best Regards
>
>  
>
> Richard Yang
>
>  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
>
>  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
>
>  
>
>  
>
>  
>
>
>   



Reply via email to