You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Rasit OZDAS <ra...@gmail.com> on 2009/03/18 15:43:09 UTC

How to write custom web-ui

Hi,

Web ui of hadoop isn't sufficient enough for our project, so I should change
it a little bit. But pages generally start with
application.getProperty('job.tracker');   to get JobTracker instance, or
similarly for NameNode instance. I couldn't find anything in the code, where
they're first initialized.
Where in the code are these instances set? Or is there another way to get
instances?

Any help is appreciated,
Rasit

Re: How to write custom web-ui

Posted by Rasit OZDAS <ra...@gmail.com>.
Thanks, Stefan.

That's a good starting point. Is there any way to get JobTracker instance?
I also need to pass it in, in my code.
Do I have to initialize JobTracker myself?

2009/3/19 Stefan Podkowinski <sp...@gmail.com>

> This is done in the JobTracker class during the bootstrap process of
> the jetty servlet engine.
> Searching for 'setAttribute("job.tracker"' should find the exact position.
>
>
>

Re: How to write custom web-ui

Posted by Stefan Podkowinski <sp...@gmail.com>.
This is done in the JobTracker class during the bootstrap process of
the jetty servlet engine.
Searching for 'setAttribute("job.tracker"' should find the exact position.


On Wed, Mar 18, 2009 at 3:43 PM, Rasit OZDAS <ra...@gmail.com> wrote:
> Hi,
>
> Web ui of hadoop isn't sufficient enough for our project, so I should change
> it a little bit. But pages generally start with
> application.getProperty('job.tracker');   to get JobTracker instance, or
> similarly for NameNode instance. I couldn't find anything in the code, where
> they're first initialized.
> Where in the code are these instances set? Or is there another way to get
> instances?
>
> Any help is appreciated,
> Rasit
>