Apache9 commented on a change in pull request #679: HBASE-23113 IPC Netty Optimization URL: https://github.com/apache/hbase/pull/679#discussion_r331743460
########## File path: hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java ########## @@ -165,12 +167,15 @@ public AbstractRpcClient(Configuration conf, String clusterId, SocketAddress loc MetricsConnection metrics) { this.userProvider = UserProvider.instantiate(conf); this.localAddr = localAddr; - this.tcpKeepAlive = conf.getBoolean("hbase.ipc.client.tcpkeepalive", true); this.clusterId = clusterId != null ? clusterId : HConstants.CLUSTER_ID_DEFAULT; this.failureSleep = conf.getLong(HConstants.HBASE_CLIENT_PAUSE, HConstants.DEFAULT_HBASE_CLIENT_PAUSE); - this.maxRetries = conf.getInt("hbase.ipc.client.connect.max.retries", 0); - this.tcpNoDelay = conf.getBoolean("hbase.ipc.client.tcpnodelay", true); + this.maxRetries = conf.getInt(CLIENT_CONNECT_MAX_RETRIES, 0); + this.tcpNoDelay = conf.getBoolean(CLIENT_TCP_NODELAY, true); + this.tcpKeepAlive = conf.getBoolean(CLIENT_TCP_KEEPALIVE, true); + this.bufferLowWatermark = conf.getInt(CLIENT_BUFFER_LOW_WATERMARK, DEFAULT_CLIENT_BUFFER_LOW_WATERMARK); Review comment: This is only used for NettyRpcClient so better put this into the NettyRpcClient? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services