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