Go to file
Michael Stack ff2d19229f HBASE-3074 Zookeeper test failing on hudson
HConnections go stale if miniCluster is shutdown on them.  Make it
so we make new HConnections on other side of a new cluster spin up.
Was cause for failing of last few tests.

M src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
  So if you shutdown a cluster and you have HConnections that were
  made using the HTUs Configuration, they'll all be stale --
  session expired -- and won't be of any use connecting to new cluster
  that comes up... now that HConnection is first class dependent on
  its own ZooKeeperWatcher instance.
  So, I went through this class and fixed it up so we use new
  Configurations when could be called either side of a mini cluster
  restart.  Added note to getConfiguration to be careful what you
  do with it because Configuration makes for an HConnection.
M src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java
  Don't use same Configuration everywhere.
M src/test/java/org/apache/hadoop/hbase/master/TestRestartCluster.java
  Make new Configuration when we make new Cluster so we get fresh
  HConnection -- not one w/ stale data, disconnected.
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
  Check that new server that comes in on a regionServerReport
  doesn't have same port and host as one we have already registered
  as we do in reportForDuty call (This is preemtive bug fix).
M src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
  Save of an identifier for HCM and use it in log messages, particularly
  when we close -- helps debugging.
M src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
  getConfiguration added.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005714 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 06:04:35 +00:00
bin HBASE-3002. Fix zookeepers.sh to work properly with strange JVM options 2010-09-24 04:10:55 +00:00
conf HBASE-2753 Remove sorted() methods from Result now that Gets are Scans 2010-10-02 20:26:53 +00:00
src HBASE-3074 Zookeeper test failing on hudson 2010-10-08 06:04:35 +00:00
.gitignore HBASE-2718 Update .gitignore for trunk after removal of contribs 2010-06-13 17:07:55 +00:00
CHANGES.txt HBASE-3089 REST tests are broken locally and up in hudson 2010-10-07 22:54:28 +00:00
LICENSE.txt HBASE-561 HBase package does not include LICENSE.txt nor build.xml 2008-04-03 22:39:46 +00:00
NOTICE.txt HBASE-2119 Fix top-level NOTICES.txt file. Its stale. 2010-01-13 06:48:50 +00:00
README.txt HBASE-526 Add documentation src and build to the 0.1 branch 2008-03-18 22:32:14 +00:00
pom.xml HBASE-2996 Fix and clean up Maven 2010-10-04 03:19:26 +00:00

README.txt

See the docs directory or http://hbase.org