[ https://issues.apache.org/jira/browse/HDFS-17544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870507#comment-17870507 ]
ASF GitHub Bot commented on HDFS-17544: --------------------------------------- KeeProMise commented on PR #6870: URL: https://github.com/apache/hadoop/pull/6870#issuecomment-2265361743 > Committed to [HDFS-17531](https://issues.apache.org/jira/browse/HDFS-17531), Thanks @KeeProMise ! @Hexiaoqiao Thank you for your review and merge! > [ARR] The router client rpc protocol PB supports asynchrony. > ------------------------------------------------------------ > > Key: HDFS-17544 > URL: https://issues.apache.org/jira/browse/HDFS-17544 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: rbf > Reporter: Jian Zhang > Assignee: Jian Zhang > Priority: Major > Labels: pull-request-available > Fix For: HDFS-17531 > > > *Describe* > In order not to affect other modules, when implementing router asynchronous > client rpc protocolPB, it mainly extends the original protocolPB; The > implemented protocolPB is as follows: > *RouterClientProtocolTranslatorPB* extends ClientNamenodeProtocolTranslatorPB > *RouterGetUserMappingsProtocolTranslatorPB* extends > GetUserMappingsProtocolClientSideTranslatorPB > *RouterNamenodeProtocolTranslatorPB* extends NamenodeProtocolTranslatorPB > *RouterRefreshUserMappingsProtocolTranslatorPB* extends > RefreshUserMappingsProtocolClientSideTranslatorPB > Then let the router's *ConnectionPool* use the aforementioned protocolPB > In the implementation of asynchronous Rpc.client, the main methods used > include HADOOP-13226, HDFS-10224, etc > {*}AsyncRpcProtocolPBUtil{*}: Make the implementation of asynchronous rpc > protocol more concise and clear. > > *Test* > new UTs: > 1.TestAsyncRpcProtocolPBUtil > 2.TestRouterClientSideTranslatorPB -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org