hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13844) Refactor the fmt_bytes function in the dfs-dust.js.
Date Mon, 17 Sep 2018 09:30:00 GMT

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

Hadoop QA commented on HDFS-13844:
----------------------------------

| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 24s{color} | {color:blue}
Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} |
{color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} trunk Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 19m 36s{color}
| {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 31m 10s{color}
| {color:green} branch has no errors when building and testing our client artifacts. {color}
|
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  0m 59s{color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 12m 18s{color}
| {color:green} patch has no errors when building and testing our client artifacts. {color}
|
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 24s{color}
| {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 45m 43s{color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:4b8c2b1 |
| JIRA Issue | HDFS-13844 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12939941/HDFS-13844.001.patch
|
| Optional Tests |  dupname  asflicense  shadedclient  |
| uname | Linux 90cd6b65966d 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/patchprocess/precommit/personality/provided.sh |
| git revision | trunk / 33d8327 |
| maven | version: Apache Maven 3.3.9 |
| Max. process+thread count | 334 (vs. ulimit of 10000) |
| modules | C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs |
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/25073/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> Refactor 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
>         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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message