Thanks for your feedback.

I think I have found the initial solution. Since the hadoop job execution
and the web application execution are two different processes. I plan to use
intermediate files as the process communication media. It seems that it is
impossible to call hadoop functions directly from the java servelt class.

So my step is: 1) startup the hadoop job execution 2) Get the result output
files and put to tomcat web application file folder 3) Get the hadoop job
result by reading files from java servlet class.

regards
On Mon, Nov 24, 2008 at 3:17 PM, Alexander Aristov <
[EMAIL PROTECTED]> wrote:

> Hi
> You may want to take a look at the Nutch project - hadoop based search
> engine. It has web application with hadoop integration.
>
> As far as I remember you should add hadoop libs and configuration files to
> classpath and init hadoop on startup.
>
> Alexander
>
> 2008/11/24 柳松 <[EMAIL PROTECTED]>
>
> > Dear  晋光峰:
> >    Glad to see another Chinese name here. It sounds possible, but could
> you
> > give us a little more detail?
> > Best Regards.
> >
> >
> >
> > 在2008-11-24?09:41:15,"晋光峰"?<[EMAIL PROTECTED]>?写道:
> > >Dear?all,
> > >
> > >Does?anyone?knows?how?to?integrate?hadoop?to?web?applications??I?want?to
> >
> >
> >startup?a?hadoop?job?by?the?Java?Servlet?(in?web?server?servlet?container),
> >
> >then?get?the?result?and?send?result?back?to?browser.?Is?this?possible??How
> > >to?connect?the?web?server?with?the?hadoop?framework?
> > >
> > >Please?give?me?any?advice?or?suggestions?about?this.
> > >
> > >Thanks
> > >--?
> > >Guangfeng?Jin
> > >
> > >Software?Engineer
> > >
> > >iZENEsoft?(Shanghai)?Co.,?Ltd
> >
>
>
>
> --
> Best Regards
> Alexander Aristov
>



-- 
Guangfeng Jin

Software Engineer

iZENEsoft (Shanghai) Co., Ltd

Reply via email to