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:12:50 +00:00
parent 1b0f277eae
commit b96377334c
2 changed files with 6 additions and 2 deletions

View File

@ -17,6 +17,9 @@ Release 2.7.3 - UNRELEASED
MAPREDUCE-5485. Allow repeating job commit by extending OutputCommitter API.
(Junping Du via jianhe)
MAPREDUCE-6377. JHS sorting on state column not working in webUi.
(zhihai xu via devaraj)
Release 2.7.2 - UNRELEASED
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();
}