[jira] [Updated] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-14 Thread Robert Joseph Evans (JIRA)

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

Robert Joseph Evans updated MAPREDUCE-4720:
---

   Resolution: Fixed
Fix Version/s: 0.23.5
   2.0.3-alpha
   3.0.0
   Status: Resolved  (was: Patch Available)

Thanks Ravi,

I put this into trunk, branch-2, and branch-0.23

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Fix For: 3.0.0, 2.0.3-alpha, 0.23.5
>
> Attachments: MAPREDUCE-4720.branch-0.23.patch, 
> MAPREDUCE-4720.branch-0.23.patch, MAPREDUCE-4720.branch23.patch, 
> MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.trunk.patch, MAPREDUCE-4720.trunk.patch, 
> MAPREDUCE-4720.trunk.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-14 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Attachment: MAPREDUCE-4720.trunk.patch
MAPREDUCE-4720.branch-0.23.patch

Thanks Luke and Bobby for your reviews! I've incorporated your comments in 
these latest patches.
Thanks a lot once again

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch-0.23.patch, 
> MAPREDUCE-4720.branch-0.23.patch, MAPREDUCE-4720.branch23.patch, 
> MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.trunk.patch, MAPREDUCE-4720.trunk.patch, 
> MAPREDUCE-4720.trunk.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-14 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Attachment: MAPREDUCE-4720.trunk.patch
MAPREDUCE-4720.branch-0.23.patch

Rebased patches after YARN-216 has gone in.

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch-0.23.patch, 
> MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.branch23.patch, 
> MAPREDUCE-4720.patch, MAPREDUCE-4720.patch, MAPREDUCE-4720.trunk.patch, 
> MAPREDUCE-4720.trunk.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-13 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Status: Patch Available  (was: Open)

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch23.patch, 
> MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.trunk.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-13 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Attachment: MAPREDUCE-4720.trunk.patch
MAPREDUCE-4720.branch23.patch

Uploading patches again. Please review and commit

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch23.patch, 
> MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.trunk.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-13 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Status: Open  (was: Patch Available)

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-13 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Attachment: MAPREDUCE-4720.trunk.patch

Attaching patch for trunk

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-13 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Status: Patch Available  (was: Open)

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.patch, MAPREDUCE-4720.trunk.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-12 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Attachment: MAPREDUCE-4720.branch23.patch

This is the final patch for branch-0.23. It adds deferred rendering to the HS 
jobs page and HS Job Tasks page. Both of the tables on these pages can become 
pretty big.

@Luke: Could you please review and commit this patch?

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.branch23.patch, MAPREDUCE-4720.patch, 
> MAPREDUCE-4720.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-06 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Attachment: MAPREDUCE-4720.patch

Thanks for that Luke! I *had* updated it in a separate branch and forgot to 
include it in the patch. Here's the whole branch. I generated this patch using 
git diff --binary --no-prefix --full-index . I have yet to figure out how to 
apply this using patch.

Nathan had suggested me to use YSlow and fix the bad grade it gave. I put in a 
few improvements:
1. Combined multiple Javascript files so that fewer HTTP connections are opened.
2. Static content is being sent with the "Expires" header set to an year from 
when the request is made.
3. Datatables upgraded and deferred rendering.

Its taking about 8 seconds to render the 2 fake jobs. An improvement from 
11 seconds but still leaves something to be desired.

Questions:
1. Should I combine all the JS files? Or only the well known jquery, jquery-ui 
and jquery-datatables libraries?
2. Should I version the static directory? I didn't feel the need because a 
refresh on the client browser can be made to refetch the un-expired content 
anyway.
3. Is there anything else we should be doing?

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.patch, MAPREDUCE-4720.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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] (MAPREDUCE-4720) Browser thinks History Server main page JS is taking too long

2012-11-05 Thread Ravi Prakash (JIRA)

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

Ravi Prakash updated MAPREDUCE-4720:


Attachment: MAPREDUCE-4720.patch

Hi Luke!

Here's a patch for using deferred rendering. However, it doesn't seem to 
produce a lot of difference with bDeferRender set to false. :( Could you please 
take a look?

The way I tested it was by producing 2 fake jobs in the for loop. 

> Browser thinks History Server main page JS is taking too long
> -
>
> Key: MAPREDUCE-4720
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4720
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: 0.23.3
>Reporter: Robert Joseph Evans
>Assignee: Ravi Prakash
> Attachments: MAPREDUCE-4720.patch
>
>
> The main History Server page with the default settings of 20,000 jobs 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