You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/10/02 08:34:35 UTC
[hbase] branch HBASE-25139 updated: add debug log
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch HBASE-25139
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/HBASE-25139 by this push:
new 4b8c639 add debug log
4b8c639 is described below
commit 4b8c6395577f951465fc7cfd2ce4824713aae1bf
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Fri Oct 2 16:33:50 2020 +0800
add debug log
---
hbase-client/src/test/java/org/apache/hadoop/hbase/TestNetty.java | 2 +-
.../main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/TestNetty.java b/hbase-client/src/test/java/org/apache/hadoop/hbase/TestNetty.java
index 479d0dc..2d68c78 100644
--- a/hbase-client/src/test/java/org/apache/hadoop/hbase/TestNetty.java
+++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/TestNetty.java
@@ -94,7 +94,7 @@ public class TestNetty {
LOG.info("connected {}", ch);
ch.close();
}
- }).bind(bindAddress).sync().channel();
+ }).bind(local).sync().channel();
LOG.info("local server channel is {}", serverChannel);
Thread.sleep(1000);
serverChannel.close();
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
index a59f5e6..beb6677 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
@@ -1175,6 +1175,7 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
if (initialIsa.getAddress() == null) {
throw new IllegalArgumentException("Failed resolve of " + initialIsa);
}
+ LOG.debug("Initial ISA is '{}', bind address is '{}'", initialIsa, bindAddress);
priority = createPriority();
// Using Address means we don't get the IP too. Shorten it more even to just the host name
// w/o the domain.