hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandybandy <turagasa...@yahoo.com>
Subject Re: How to use hadoop wiht tomcat!!
Date Thu, 28 Feb 2008 19:07:55 GMT

Hi Alejandro,
   when you say include Haddop and its dependent JARS are you referring to
hadoop-core.jar and its dependant jars? your quick reply will be very
halpful.

----Yoda


Alejandro Abdelnur-2 wrote:
> 
> we do it by including the Hadoop and its depent JARs in the webapp lib
> directory. It just works, you should exclude jetty and servlet jars
> files.
> 
> 
> 
> On Jan 21, 2008 12:39 PM, Ted Dunning <tdunning@veoh.com> wrote:
>>
>> I would say that it is generally better practice to deploy hadoop.jar in
>> the
>> lib directory of the war file that you are deploying so that you can
>> change
>> versions of hadoop more easily.
>>
>> Your problem is that you have dropped the tomcat support classes from
>> your
>> CLASSPATH in the process of getting hadoop involved.
>>
>> Go back to the simplest hello world servlet that you can have and make
>> sure
>> that works.  Then build up gently back to where you have access to the
>> hadoop jar.
>>
>>
>>
>> On 1/20/08 8:16 PM, "Sandhya Kishore" <turagasandy@yahoo.com> wrote:
>>
>> > Hi,
>> >
>> >     I am trying to develop a webapplication that submit jobs to HADOOP
>> > map/reduce. I have added hadoop.jar and all the dependencies to tomcat
>> lib and
>> > deployed my webapp in tomat. But it is saying that it is not able to
>> find the
>> > servlet calss.CAn anybody help me..Thanks alot
>> >
>> > ---yoda
>> >
>> >
>> > ---------------------------------
>> > Looking for last minute shopping deals?  Find them fast with Yahoo!
>> Search.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-hadoop-wiht-tomcat%21%21-tp14991778p15743555.html
Sent from the Hadoop lucene-users mailing list archive at Nabble.com.


Mime
View raw message