You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ravi Prakash (JIRA)" <ji...@apache.org> on 2012/10/31 16:03:13 UTC

[jira] [Updated] (YARN-151) Browser thinks RM main page JS is taking too long

     [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash updated YARN-151:
------------------------------

    Attachment: test.html

Hi Luke! Thanks a lot for your prompt reply. :) 20000 jobs on the JHS resulted in a ~13 Mb file. (I can see that there's a lot of whitespace in the file, which we can probably get rid of). Anyway, I timed how much time it takes for the browser to download and render this on my machine. It took about 35 seconds. When I rendered the locally saved file, it took 11 seconds. Here's an HTML file containing a table with 20000 rows. It again took 12 seconds. 

It seems to me that the majority of the time (35-12) was taken in downloading the file. I don't know why it would take so long, but it did :(

I'll try to do some more tests with DataTables with deferred rendering. If that is fast, I would like it too, so that I can graph that data in MAPREDUCE-4747. Killing two stones with 1 bird (since I don't like killing birds)
                
> Browser thinks RM main page JS is taking too long
> -------------------------------------------------
>
>                 Key: YARN-151
>                 URL: https://issues.apache.org/jira/browse/YARN-151
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 0.23.3
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>         Attachments: test.html
>
>
> The main RM page with the default settings of 10,000 applications can cause browsers to think that the JS on the page is stuck and ask you if you want to kill it.  This is a big usability problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira