MAPREDUCE-6377. JHS sorting on state column not working in webUi.

Contributed by zhihai xu.
(cherry picked from commit 790a861766)

Conflicts:

	hadoop-mapreduce-project/CHANGES.txt
This commit is contained in:
Jason Lowe 2015-11-18 17:17:58 +00:00
parent 866d0f6f04
commit 937d9653a7
2 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,9 @@ Release 2.6.3 - UNRELEASED
MAPREDUCE-6540. TestMRTimelineEventHandling fails (sjlee)
MAPREDUCE-6377. JHS sorting on state column not working in webUi.
(zhihai xu via devaraj)
Release 2.6.2 - 2015-10-28
INCOMPATIBLE CHANGES

View File

@ -87,10 +87,11 @@ public class HsView extends TwoColumnLayout {
append(", bProcessing: true").
// Sort by id upon page load
append(", aaSorting: [[2, 'desc']]").
append(", aaSorting: [[3, 'desc']]").
append(", aoColumnDefs:[").
// Maps Total, Maps Completed, Reduces Total and Reduces Completed
append("{'sType':'numeric', 'bSearchable': false, 'aTargets': [ 7, 8, 9, 10 ] }").
append("{'sType':'numeric', 'bSearchable': false" +
", 'aTargets': [ 8, 9, 10, 11 ] }").
append("]}").
toString();
}