Hi Dima, The IntegrationTestingUtility class sets the default cluster manager here:
https://github.com/apache/hbase/blob/0.98/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestingUtility.java#L136 You might have to make the cluster manager setting configurable and then plug in your implementation. Thanks Vandana On Wed, Jan 14, 2015 at 10:51 PM, Dima Spivak <[email protected]> wrote: > Hey folks, > > I've been hacking about and trying to start making some contributions to > hbase-it this week, but have encountered a bit of a hurdle that some of you > might be able to help me get over. > > In particular, according to the ref guide, cluster management (e.g. killing > RSs, starting a master) is handled by implementations of ClusterManager, > with the default being HBaseClusterManager. This makes sense and is the > source of the shell commands I see when I run things like ChaosMonkey from > the command line when executing an integration test. The ref guide also > states, though, that there are other implementations of ClusterManager, > including one for Apache Ambari that can be plugged in. My questions, then, > are: > > 1) Where is this Ambari implementation? > > 2) If I have the implementation in hand, how do I let ChaosMonkey know to > use it and not HBaseClusterManager to handle doing things to my distributed > cluster? > > Cheers, > Dima >
