You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/10 18:50:00 UTC

[jira] [Commented] (HADOOP-18302) Remove WhiteBox in hadoop-common module.

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

ASF GitHub Bot commented on HADOOP-18302:
-----------------------------------------

aajisaka commented on code in PR #4457:
URL: https://github.com/apache/hadoop/pull/4457#discussion_r967689375


##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsRecordImpl.java:
##########
@@ -27,7 +27,7 @@
 import org.apache.hadoop.metrics2.MetricsTag;
 import static org.apache.hadoop.metrics2.util.Contracts.*;
 
-class MetricsRecordImpl extends AbstractMetricsRecord {
+public class MetricsRecordImpl extends AbstractMetricsRecord {

Review Comment:
   Could you add `@VisibleForTesting`?





> Remove WhiteBox in hadoop-common module.
> ----------------------------------------
>
>                 Key: HADOOP-18302
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18302
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 3.4.0, 3.3.9
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> WhiteBox is deprecated, try to remove this method in hadoop-common.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org