You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by 张茂森 <ma...@alibaba-inc.com> on 2007/03/01 07:22:58 UTC

答复: Problem running sample Grep

Bin/hadoop jar hadoop-example-**.jar grep input output ?

-----邮件原件-----
发件人: Richard Yang [mailto:richardyang@richardyang.net] 
发送时间: 2007年3月1日 14:07
收件人: hadoop-user@lucene.apache.org; hadoop-user-help@lucene.apache.org
主题: Problem running sample Grep

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

 <ma...@richardyang.net> richardyang@richardyang.net

 <ma...@gmail.com> kusanagiyang@gmail.com