[ https://issues.apache.org/jira/browse/HADOOP-18302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581337#comment-17581337 ]
ASF GitHub Bot commented on HADOOP-18302: ----------------------------------------- slfan1989 commented on code in PR #4457: URL: https://github.com/apache/hadoop/pull/4457#discussion_r949086231 ########## hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/portmap/RpcProgramPortmap.java: ########## @@ -208,4 +208,8 @@ public void exceptionCaught(ChannelHandlerContext ctx, Throwable t) { LOG.warn("Encountered ", t); ctx.channel().close(); } + + public ConcurrentHashMap<String, PortmapMapping> getMap() { + return map; + } Review Comment: I will fix it. > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org