Hi Russell, For an example, see
https://github.com/apache/whirr/blob/trunk/services/hbase/src/main/java/org/apache/whirr/service/hbase/HBaseMasterClusterActionHandler.java#L119 In this case, the HBase master uses the ZK quorum to configure itself. Cheers, Tom On Tue, Jul 9, 2013 at 9:14 AM, Andrei Savu <[email protected]> wrote: > You just add the zookeeper role to the recipe and in your new service query > the list of instance to find the quorum. You don't have to extend the code. > > -- Andrei Savu / axemblr.com > > > On Tue, Jul 9, 2013 at 2:06 AM, Russell Jurney > <[email protected]>wrote: > >> I am creating a WHIRR service. This NoSQL store requires a Zookeeper >> quorum. I don't want to rebuild this zookeeper service - is there a way to >> extend the zookeeper role on top of other recipes? >> >> I've been looking into the HBase service to see how it does this, but I >> can't quite see it. Is there a one-liner way to bring Zookeeper into >> another service? I see that you can import the class: >> >> >> -- >> Russell Jurney twitter.com/rjurney [email protected] >> datasyndrome.com >>
