Skip to content

Commit 2ac5578

Browse files
committed
HBASE-27271 Addendum use NettyFutureUtils
1 parent 2dc2608 commit 2ac5578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public void operationComplete(Future<Boolean> future) throws Exception {
239239
p.addBefore(BufferCallBeforeInitHandler.NAME, readTimeoutHandlerName,
240240
new ReadTimeoutHandler(RpcClient.DEFAULT_SOCKET_TIMEOUT_READ, TimeUnit.MILLISECONDS))
241241
.addBefore(BufferCallBeforeInitHandler.NAME, null, chHandler);
242-
connectionHeaderPromise.addListener(new FutureListener<Boolean>() {
242+
NettyFutureUtils.addListener(connectionHeaderPromise, new FutureListener<Boolean>() {
243243
@Override
244244
public void operationComplete(Future<Boolean> future) throws Exception {
245245
if (future.isSuccess()) {

0 commit comments

Comments
 (0)