I get the slowness even when not running jobs and no jobs have run.  I dug
deeper into it and it looks like all the slowness comes from trying to
resolve the RM address of 0.0.0.0 to a hostname for a link address on the
page.  I'm not sure why the dns lookup is taking so long for me, but
there's no reason we need to do it on every page load so I filed
https://issues.apache.org/jira/browse/MAPREDUCE-5111.

-Sandy

On Wed, Mar 27, 2013 at 7:17 AM, Robert Evans <[email protected]> wrote:

> I don't think anyone has dug into it.  Are you running jobs at the same
> time that you are looking at the history server? The history server is
> configured by default to only hold 5 jobs in memory at any point in time.
> If you are switching in between jobs there is the possibility that you are
> reading the complete history file each time.  Also if you are running jobs
> in the background the job client may be causing the history server to load
> the job data so it might be pushing jobs out of the cache while you are
> still looking at them on the UI. I don't think any of those are likely,
> but they are something to be aware of. I would suggest that you try to dig
> into it some and profile it to see what is going on.
>
> --Bobby
>
> On 3/26/13 10:41 PM, "Sandy Ryza" <[email protected]> wrote:
>
> >When I run the job history server on my local machine, pages take in the
> >10s of seconds to load, where there MR1 equivalents loaded
> >instantaneously.
> > Has anyone else experienced this?  Does anybody know what could be
> >causing
> >it?
> >
> >thanks for any guidance!
> >Sandy
>
>

Reply via email to