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:
Devaraj K 2015-06-05 15:50:16 +05:30
parent 320e4cc0e7
commit 7f075f2b75
2 changed files with 6 additions and 2 deletions

View File

@ -192,6 +192,9 @@ Release 2.8.0 - UNRELEASED
MAPREDUCE-5232. Add a configuration to be able to log classpath and other
system properties on mapreduce JVMs startup. (Sangjin Lee via vinodkv)
MAPREDUCE-6377. JHS sorting on state column not working in webUi.
(zhihai xu via devaraj)
Release 2.7.1 - 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();
}