HDDS-172. The numbers of operation should be integer in KSM UI. Contributed by Takanobu Asanuma.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/308a1591 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/308a1591 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/308a1591 Branch: refs/heads/HDFS-13532 Commit: 308a1591f9f41597f4e7cc17bca06c66d6efc0a2 Parents: c966a38 Author: Anu Engineer <[email protected]> Authored: Fri Jun 15 10:23:58 2018 -0700 Committer: Anu Engineer <[email protected]> Committed: Fri Jun 15 14:10:17 2018 -0700 ---------------------------------------------------------------------- hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/308a1591/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js ---------------------------------------------------------------------- diff --git a/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js b/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js index 7fb52b1..ab6f73b 100644 --- a/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js +++ b/hadoop-ozone/ozone-manager/src/main/webapps/ksm/ksm.js @@ -48,7 +48,9 @@ labelType: 'value', duration: 500, labelThreshold: 0.01, - labelSunbeamLayout: true, + valueFormat: function(d) { + return d3.format('d')(d); + }, legend: { margin: { top: 5, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
