« Return to Thread: How to use hadoop wiht tomcat!!

Re: How to use hadoop wiht tomcat!!

by Alejandro Abdelnur-2 :: Rate this Message:

Reply to Author | View in Thread

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@...> 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@...> 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.
>
>

 « Return to Thread: How to use hadoop wiht tomcat!!