Source:
<code>public DefaultBlockWorkerClient(UserState userState, GrpcServerAddress address, AlluxioConfiguration alluxioConf) throws IOException { RetryPolicy retryPolicy = RetryUtils.defaultClientRetry( alluxioConf.getDuration(PropertyKey.USER_RPC_RETRY_MAX_DURATION), alluxioConf.getDuration(PropertyKey.USER_RPC_RETRY_BASE_SLEEP_MS), alluxioConf.getDuration(PropertyKey.USER_RPC_RETRY_MAX_SLEEP_MS)); UnauthenticatedException lastException = null; while (retryPolicy.attempt()) { try { mStreamingChannel = GrpcChannelBuilder.newBuilder(address, alluxioConf) .setSubject(userState.getSubject()) .setNetworkGroup(GrpcChannelKey.NetworkGroup.STREAMING) .setClientType("DefaultBlockWorkerClient-Stream") .build(); mStreamingChannel.intercept(new StreamSerializationClientInterceptor()); mRpcChannel = GrpcChannelBuilder.newBuilder(address, alluxioConf) .setSubject(userState.getSubject()) .setNetworkGroup(GrpcChannelKey.NetworkGroup.DEFAULT) <START> .setClientType("DefaultBlockWorkerClient") <END> .build(); lastException = null; break; } catch (StatusRuntimeException e) { close(); throw AlluxioStatusException.fromStatusRuntimeException(e); } catch (UnauthenticatedException e) { close(); userState.relogin(); lastException = e; } } if (lastException != null) { throw lastException; } mStreamingAsyncStub = BlockWorkerGrpc.newStub(mStreamingChannel); mRpcBlockingStub = BlockWorkerGrpc.newBlockingStub(mRpcChannel); mRpcAsyncStub = BlockWorkerGrpc.newStub(mRpcChannel); mAddress = address; mDataTimeoutMs = alluxioConf.getMs(PropertyKey.USER_STREAMING_DATA_TIMEOUT_MS); }</code><technical_language>Suffix Rpc consistent</technical_language>

Target:
public DefaultBlockWorkerClient(UserState userState, GrpcServerAddress address, AlluxioConfiguration alluxioConf) throws IOException { RetryPolicy retryPolicy = RetryUtils.defaultClientRetry( alluxioConf.getDuration(PropertyKey.USER_RPC_RETRY_MAX_DURATION), alluxioConf.getDuration(PropertyKey.USER_RPC_RETRY_BASE_SLEEP_MS), alluxioConf.getDuration(PropertyKey.USER_RPC_RETRY_MAX_SLEEP_MS)); UnauthenticatedException lastException = null; while (retryPolicy.attempt()) { try { mStreamingChannel = GrpcChannelBuilder.newBuilder(address, alluxioConf) .setSubject(userState.getSubject()) .setNetworkGroup(GrpcChannelKey.NetworkGroup.STREAMING) .setClientType("DefaultBlockWorkerClient-Stream") .build(); mStreamingChannel.intercept(new StreamSerializationClientInterceptor()); mRpcChannel = GrpcChannelBuilder.newBuilder(address, alluxioConf) .setSubject(userState.getSubject()) .setNetworkGroup(GrpcChannelKey.NetworkGroup.RPC) .setClientType("DefaultBlockWorkerClient-Rpc") .build(); lastException = null; break; } catch (StatusRuntimeException e) { close(); throw AlluxioStatusException.fromStatusRuntimeException(e); } catch (UnauthenticatedException e) { close(); userState.relogin(); lastException = e; } } if (lastException != null) { throw lastException; } mStreamingAsyncStub = BlockWorkerGrpc.newStub(mStreamingChannel); mRpcBlockingStub = BlockWorkerGrpc.newBlockingStub(mRpcChannel); mRpcAsyncStub = BlockWorkerGrpc.newStub(mRpcChannel); mAddress = address; mDataTimeoutMs = alluxioConf.getMs(PropertyKey.USER_STREAMING_DATA_TIMEOUT); }