Yet more debug for baffling zk test failure up on hudson

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005238 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-10-06 20:32:30 +00:00
parent 38641ec196
commit 3745672d94
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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);

View File

@ -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);