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

Contributed by zhihai xu.
This commit is contained in:
Devaraj K 2015-06-05 15:50:16 +05:30
parent b2540f486e
commit 790a861766
2 changed files with 6 additions and 2 deletions

View File

@ -450,6 +450,9 @@ Release 2.8.0 - UNRELEASED
MAPREDUCE-6382. Don't escape HTML links in Diagnostics in JHS job overview. MAPREDUCE-6382. Don't escape HTML links in Diagnostics in JHS job overview.
(Siqi Li via gera) (Siqi Li via gera)
MAPREDUCE-6377. JHS sorting on state column not working in webUi.
(zhihai xu via devaraj)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -87,10 +87,11 @@ private String jobsTableInit() {
append(", bProcessing: true"). append(", bProcessing: true").
// Sort by id upon page load // Sort by id upon page load
append(", aaSorting: [[2, 'desc']]"). append(", aaSorting: [[3, 'desc']]").
append(", aoColumnDefs:["). append(", aoColumnDefs:[").
// Maps Total, Maps Completed, Reduces Total and Reduces Completed // 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("]}"). append("]}").
toString(); toString();
} }