/[Apache-SVN]
ViewVC logotype

Revision 1023181


Jump to revision: Previous Next
Author: stack
Date: Sat Oct 16 05:14:15 2010 UTC (14 years ago)
Changed paths: 4
Log Message:
HBASE-3114 Test up on hudson are leaking zookeeper ensemble

Trying this patch to see if it cures hudson of leakage

M src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
  Add a passedZkCluster flag.  If we didn't start the zk cluster,
  don't shut it down on way out.
M src/test/java/org/apache/hadoop/hbase/TestHBaseTestingUtility.java
  Add a test that starts up three clusters in a vm all sharing single
  zk, each to its own chroot location.  Add to tables in each and
  very the add by doing same as the old TestMultiClusters used)
M src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
  Reenable shutdown of started clusters.  Hopefully this clears
  the leaking of zk ensembles up on hudson.
M src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
  Testing, it looks like legitimately the callback for session connected
  can be invoked before construction of zookeeperwatcher finishes.  In
  particular the zookeeper data member can be null.  Hang around for a
  second of so before throwing an exception (Make the exception
  indicate the particular zkw by adding to the error message stack
  trace made at zkw construction -- helps with debugging this stuff)



Changed paths

Path Details
Directoryhbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java modified , text changed
Directoryhbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java modified , text changed
Directoryhbase/trunk/src/test/java/org/apache/hadoop/hbase/TestHBaseTestingUtility.java modified , text changed
Directoryhbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26