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 "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2012/10/10 16:09:02 UTC

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

Robert Joseph Evans created YARN-151:
----------------------------------------

             Summary: 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


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

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

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499030#comment-13499030 ] 

Hadoop QA commented on YARN-151:
--------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12553740/YARN-151.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-YARN-Build/150//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/150//console

This message is automatically generated.
                
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499396#comment-13499396 ] 

Hudson commented on YARN-151:
-----------------------------

Integrated in Hadoop-Hdfs-0.23-Build #438 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/438/])
    svn merge -c 1410564 FIXES: YARN-151. Browser thinks RM main page JS is taking too long (Ravi Prakash via bobby) (Revision 1410566)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1410566
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/yarn.dt.plugins.js
* /hadoop/common/branches/branch-0.23/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsBlock.java
* /hadoop/common/branches/branch-0.23/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RmView.java

                
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>             Fix For: 3.0.0, 2.0.3-alpha, 0.23.6
>
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499385#comment-13499385 ] 

Hudson commented on YARN-151:
-----------------------------

Integrated in Hadoop-Yarn-trunk #39 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/39/])
    YARN-151. Browser thinks RM main page JS is taking too long (Ravi Prakash via bobby) (Revision 1410564)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1410564
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/yarn.dt.plugins.js
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsBlock.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RmView.java

                
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>             Fix For: 3.0.0, 2.0.3-alpha, 0.23.6
>
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: YARN-151.patch

The same patch applies to all 3 branches : 0.23, branch-2, trunk
                
> 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: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Luke Lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487337#comment-13487337 ] 

Luke Lu commented on YARN-151:
------------------------------

10k apps is a small amount of data (a few hundred KB to a few MB) and that you don't need implement the logic (api that supports searching/sorting/paging) at server side and that you have better user response time (instant search experience) as the data is at the client side. The server side stuff would be better if we need to support more than 100K apps. If you come up with a patch, I'm happy to review it :)
                
> 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
>
> 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

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

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499135#comment-13499135 ] 

Robert Joseph Evans commented on YARN-151:
------------------------------------------

The patch looks good to me +1.

I'll check it in.
                
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Affects Version/s: 2.0.2-alpha
                       0.23.4
    
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Luke Lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475811#comment-13475811 ] 

Luke Lu commented on YARN-151:
------------------------------

The most straight forward fix would be upgrading to a more recent version of datatables and turn on defered rendering (not creating dom nodes for all rows, even they are hidden): http://datatables.net/release-datatables/examples/ajax/defer_render.html

Sorting, searching through in js itself can easily handle up to 100k rows on modest hardware.
                
> 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
>
> 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

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

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash reassigned YARN-151:
---------------------------------

    Assignee: Ravi Prakash
    
> 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
>
> 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

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499143#comment-13499143 ] 

Hudson commented on YARN-151:
-----------------------------

Integrated in Hadoop-trunk-Commit #3033 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3033/])
    YARN-151. Browser thinks RM main page JS is taking too long (Ravi Prakash via bobby) (Revision 1410564)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1410564
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/yarn.dt.plugins.js
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsBlock.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RmView.java

                
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>             Fix For: 3.0.0, 2.0.3-alpha, 0.23.6
>
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499417#comment-13499417 ] 

Hudson commented on YARN-151:
-----------------------------

Integrated in Hadoop-Mapreduce-trunk #1260 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1260/])
    YARN-151. Browser thinks RM main page JS is taking too long (Ravi Prakash via bobby) (Revision 1410564)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1410564
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/yarn.dt.plugins.js
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsBlock.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RmView.java

                
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>             Fix For: 3.0.0, 2.0.3-alpha, 0.23.6
>
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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

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

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: testDeferred.tar.gz

Ok Luke! I'm convinced. Deferred rendering is AWESOME! :) Attaching the small test file(s) I made. 20,000 rows, rendered in 1-2 seconds. I even tried 200,000 rows. That took 5-6 seconds.

Do we know how much we want the JHS to scale? Ideally ofcourse we'd like to keep all the jobs that have ever been run, and for that, we might want to use server_side, but deferred rendering seems fine for now.

I'll work on creating a patch for using deferred rendering in the mean time. Thanks a ton!
                
> 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: testDeferred.tar.gz, 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

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

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487317#comment-13487317 ] 

Ravi Prakash commented on YARN-151:
-----------------------------------

@Luke: Even if we used deferred rendering, it seems like we would still need to ship all that data to the browser, even if the user doesn't require it (e.g. the very first page of the JHS)

Wouldn't server side be better? http://datatables.net/release-datatables/examples/data_sources/server_side.html It seems to be designed for exactly our use case.
                
> 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
>
> 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

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

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/YARN-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499407#comment-13499407 ] 

Hudson commented on YARN-151:
-----------------------------

Integrated in Hadoop-Hdfs-trunk #1229 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1229/])
    YARN-151. Browser thinks RM main page JS is taking too long (Ravi Prakash via bobby) (Revision 1410564)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1410564
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/yarn.dt.plugins.js
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsBlock.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RmView.java

                
> 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: 2.0.2-alpha, 0.23.3, 0.23.4
>            Reporter: Robert Joseph Evans
>            Assignee: Ravi Prakash
>             Fix For: 3.0.0, 2.0.3-alpha, 0.23.6
>
>         Attachments: testDeferred.tar.gz, test.html, YARN-151.patch
>
>
> 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