Hi Dennis,

  Thanks a lot for the response. I added the for loop in my hadoop
script, and it works now. I really appreciate your help in helping us
newbies sort things out!

Regards,

-vishal.

-----Original Message-----
From: Dennis Kubes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 12, 2006 6:37 PM
To: [email protected]
Subject: Re: ClassNotFoundException while using segread

Isn't this the same problem that was happening before with the 
SegmentMerger I think where the nutch-x.x.jar needed to be added to the 
classpath on all of the task trackers.  We added the following code to 
our hadoop script just below the other for loops and redeployed script 
and restarted all task trackers:

for f in $HADOOP_HOME/nutch-*.jar; do
 CLASSPATH=${CLASSPATH}:$f;
done

Dennis

Vishal Shah wrote:
> Hi Andrzej,
>
>   Thanks for the reply. I have a job running on the system right now,
> but I'll try to reinstall (redeploy ;-)) it after it is done.
>
> Regards,
>
> -vishal.
>
> -----Original Message-----
> From: Andrzej Bialecki [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 12, 2006 2:40 PM
> To: [email protected]
> Subject: Re: ClassNotFoundException while using segread
>
> Vishal Shah wrote:
>   
>> Hi Andrzej,
>>
>>   Thanks for the reply. Currently, I have deployed Hadoop/Nutch using
>> the instructions in the hadoop/nutch tutorial. Currently, I have
>>     
> copied
>   
>>   
>>     
>
> Ok, then forget my explanation - it is still true, but not applicable
to
>
> your case.
>
>   
>> the nutch jars in my NUTCH_HOME directory. I tried copying the
>> nutch-xxxx.job to my lib directory, but that doesn't work too. 
>>
>>   
>>     
>
> No, you shouldn't need to do this. The scripts should find all
necessary
>
> jars and put them on CLASSPATH.
>
>   
>>   Do I need to set the CLASSPATH before I run bin/start-all.sh, or is
>>     
> it
>   
>> something else? Sorry, I am new to Java development, so I don't know
>> what you mean by deploying something.
>>   
>>     
>
> Well, I'm not sure what could be wrong... Does it occur for you with
the
>
> clean installation,  i.e. if you get a fresh copy, rebuild, reinstall 
> from scratch and try again?
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to