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:
parent
38641ec196
commit
3745672d94
|
@ -525,7 +525,7 @@ public class HConnectionManager {
|
||||||
try {
|
try {
|
||||||
HServerAddress hsa =
|
HServerAddress hsa =
|
||||||
this.rootRegionTracker.waitRootRegionLocation(this.rpcTimeout);
|
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;
|
if (hsa == null) return null;
|
||||||
return new HRegionLocation(HRegionInfo.ROOT_REGIONINFO, hsa);
|
return new HRegionLocation(HRegionInfo.ROOT_REGIONINFO, hsa);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
|
|
@ -832,7 +832,8 @@ public class HBaseTestingUtility {
|
||||||
sessionTimeout, EmptyWatcher.instance, sessionID, password);
|
sessionTimeout, EmptyWatcher.instance, sessionID, password);
|
||||||
zk.close();
|
zk.close();
|
||||||
final long sleep = sessionTimeout * 5L;
|
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);
|
Thread.sleep(sleep);
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,6 @@ public class TestZooKeeper {
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public void testSanity() throws Exception{
|
public void testSanity() throws Exception{
|
||||||
|
|
||||||
HBaseAdmin admin = new HBaseAdmin(conf);
|
HBaseAdmin admin = new HBaseAdmin(conf);
|
||||||
String tableName = "test"+System.currentTimeMillis();
|
String tableName = "test"+System.currentTimeMillis();
|
||||||
HTableDescriptor desc = new HTableDescriptor(tableName);
|
HTableDescriptor desc = new HTableDescriptor(tableName);
|
||||||
|
|
Loading…
Reference in New Issue