MAPREDUCE-6255. Fix JobCounter's format to use grouping separator. Contributed by Ryu Kobayashi.
(cherry picked from commit ba3c80a5ca
)
This commit is contained in:
parent
3c4b5606dc
commit
7386323735
|
@ -52,6 +52,9 @@ Release 2.7.0 - UNRELEASED
|
|||
MAPREDUCE-4431. mapred command should print the reason on killing already
|
||||
completed jobs. (devaraj via ozawa)
|
||||
|
||||
MAPREDUCE-6255. Fix JobCounter's format to use grouping separator.
|
||||
(Ryu Kobayashi via ozawa)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
MAPREDUCE-6169. MergeQueue should release reference to the current item
|
||||
|
|
|
@ -139,10 +139,10 @@ public class CountersBlock extends HtmlBlock {
|
|||
Counter mc = mg == null ? null : mg.findCounter(counter.getName());
|
||||
Counter rc = rg == null ? null : rg.findCounter(counter.getName());
|
||||
groupRow.
|
||||
td(mc == null ? "0" : String.valueOf(mc.getValue())).
|
||||
td(rc == null ? "0" : String.valueOf(rc.getValue()));
|
||||
td(mc == null ? "0" : String.format("%,d", mc.getValue())).
|
||||
td(rc == null ? "0" : String.format("%,d", rc.getValue()));
|
||||
}
|
||||
groupRow.td(String.valueOf(counter.getValue()))._();
|
||||
groupRow.td(String.format("%,d", counter.getValue()))._();
|
||||
}
|
||||
group._()._()._()._();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue