[ 
https://issues.apache.org/jira/browse/HDFS-13844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16618216#comment-16618216
 ] 

Hudson commented on HDFS-13844:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14982 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14982/])
HDFS-13844. Fix the fmt_bytes function in the dfs-dust.js. Contributed 
(inigoiri: rev d1541932dbf2efd09da251b23c8825ce97f9c86c)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/dfs-dust.js


> Fix the fmt_bytes function in the dfs-dust.js
> ---------------------------------------------
>
>                 Key: HDFS-13844
>                 URL: https://issues.apache.org/jira/browse/HDFS-13844
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, ui
>    Affects Versions: 1.2.0, 2.2.0, 2.7.2, 3.0.0, 3.1.0
>            Reporter: yanghuafeng
>            Assignee: yanghuafeng
>            Priority: Minor
>             Fix For: 2.10.0, 3.2.0, 2.9.2, 3.0.4, 3.1.2
>
>         Attachments: HDFS-13844.001.patch, overflow_undefined_unit.jpg, 
> overflow_unit.jpg, undefined_unit.jpg
>
>
> The namenode WebUI cannot display the capacity with correct units. I have 
> found that the function fmt_bytes in the dfs-dust.js missed the EB unit. This 
> will lead to undefined unit in the ui.
> And although the unit ZB is very large, we should take the unit overflow into 
> consideration. Supposing the last unit is GB, we should get the 8192 GB with 
> the total capacity 8T rather than 8 undefined.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to