diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java index 866ba928f38..4ad91c6d3ab 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java @@ -525,7 +525,7 @@ public class HConnectionManager { try { HServerAddress hsa = this.rootRegionTracker.waitRootRegionLocation(this.rpcTimeout); - LOG.debug("Lookedup root region location " + hsa); + LOG.debug("Lookedup root region location with hcm=" + this + "; " + hsa); if (hsa == null) return null; return new HRegionLocation(HRegionInfo.ROOT_REGIONINFO, hsa); } catch (InterruptedException e) { diff --git a/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java b/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java index 75f5a1443c7..22c398d512c 100644 --- a/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java +++ b/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java @@ -832,7 +832,8 @@ public class HBaseTestingUtility { sessionTimeout, EmptyWatcher.instance, sessionID, password); zk.close(); final long sleep = sessionTimeout * 5L; - LOG.info("ZK Closed; sleeping=" + sleep); + LOG.info("ZK Closed Session 0x" + Long.toHexString(sessionID) + + "; sleeping=" + sleep); Thread.sleep(sleep); diff --git a/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java b/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java index 720bc013dd3..35124c2924f 100644 --- a/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java +++ b/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java @@ -131,7 +131,6 @@ public class TestZooKeeper { * @throws Exception */ public void testSanity() throws Exception{ - HBaseAdmin admin = new HBaseAdmin(conf); String tableName = "test"+System.currentTimeMillis(); HTableDescriptor desc = new HTableDescriptor(tableName);