hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张茂森 <maosen.zh...@alibaba-inc.com>
Subject 答复: Problem running sample Grep
Date Thu, 01 Mar 2007 06:22:58 GMT
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

 <mailto:richardyang@richardyang.net> richardyang@richardyang.net

 <mailto:kusanagiyang@gmail.com> kusanagiyang@gmail.com

 

 

 


Mime
View raw message