[ 
https://issues.apache.org/jira/browse/HDFS-15810?focusedWorklogId=585234&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-585234
 ]

ASF GitHub Bot logged work on HDFS-15810:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Apr/21 16:35
            Start Date: 19/Apr/21 16:35
    Worklog Time Spent: 10m 
      Work Description: goiri commented on a change in pull request #2910:
URL: https://github.com/apache/hadoop/pull/2910#discussion_r616004081



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/metrics/TestRBFMetrics.java
##########
@@ -18,10 +18,7 @@
 package org.apache.hadoop.hdfs.server.federation.metrics;
 
 import static 
org.apache.hadoop.hdfs.server.federation.FederationTestUtils.getBean;
-import static org.junit.Assert.assertEquals;

Review comment:
       Keep extended.

##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/metrics/TestRBFMetrics.java
##########
@@ -351,21 +349,32 @@ private void validateClusterStatsRouterBean(RouterMBean 
bean) {
     assertFalse(bean.isSecurityEnabled());
   }
 
-  private void testCapacity(FederationMBean bean) {
+  private void testCapacity(FederationMBean bean) throws  IOException {

Review comment:
       Too many spaces.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 585234)
    Time Spent: 1h 40m  (was: 1.5h)

> RBF: RBFMetrics's TotalCapacity out of bounds
> ---------------------------------------------
>
>                 Key: HDFS-15810
>                 URL: https://issues.apache.org/jira/browse/HDFS-15810
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Xiaoxing Wei
>            Assignee: Fengnan Li
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2021-02-02-10-59-17-113.png
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The Long type fields TotalCapacity,UsedCapacity and RemainingCapacity in 
> RBFMetrics maybe ** out of bounds.
> !image-2021-02-02-10-59-17-113.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to