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