/[Apache-SVN]
ViewVC logotype

Revision 1182039


Jump to revision: Previous Next
Author: nspiegelberg
Date: Tue Oct 11 19:13:31 2011 UTC (12 years, 8 months ago)
Changed paths: 5
Log Message:
Initial support for testing multiple masters in hbase-89

Summary: Porting some plumbing from Apache HBase trunk to hbase-89 that would
allow to test multiple masters (e.g. various failure scenarios). To do that we
need to maintain a list of thread objects, each holding a reference to an
HMaster, instead of just a single HMaster reference. No multi-master tests are
being added yet -- before that is done, master znode wait needs to be moved out
from the constructor. However, I'd like to get this in as a first step towards
testing HBase 89 master more thoroughly. Most of the code in this diff comes
directly from Apache HBase trunk.

Test Plan: Existing unit tests pass.

Reviewers: kranganathan, jgray, nspiegelberg

Reviewed By: kranganathan

CC: hbase-eng@lists, kranganathan, mbautin

Differential Revision: 336813

Revert Plan: OK

Changed paths

Path Details
Directoryhbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/HConstants.java modified , text changed
Directoryhbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java modified , text changed
Directoryhbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/master/HMaster.java modified , text changed
Directoryhbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java modified , text changed
Directoryhbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26