[
https://issues.apache.org/jira/browse/HDFS-9065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14741835#comment-14741835
]
Haohui Mai commented on HDFS-9065:
----------------------------------
Thanks! It might make sense to use {{Number.toLocaleString}}:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString
> Include commas on # of files, blocks, total filesystem objects in NN Web UI
> ---------------------------------------------------------------------------
>
> Key: HDFS-9065
> URL: https://issues.apache.org/jira/browse/HDFS-9065
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: HDFS
> Affects Versions: 2.7.1
> Reporter: Daniel Templeton
> Assignee: Daniel Templeton
> Priority: Minor
> Attachments: HDFS-9065.001.patch
>
>
> Include commas on the number of files, blocks, and total filesystem objects
> in the NN Web UI (please see example below) to make the numbers easier to
> read.
> Current format:
> 3236 files and directories, 1409 blocks = 4645 total filesystem object(s).
> Proposed format:
> 3,236 files and directories, 1,409 blocks = 4,645 total filesystem object(s).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)