You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Roman Shaposhnik <ro...@shaposhnik.org> on 2012/05/26 01:50:38 UTC
External zookeeper
Hi!
Does Giraph allow for use of external deployment of Zookeeper?
Thanks,
Roman.
Re: External zookeeper
Posted by Avery Ching <ac...@apache.org>.
The advantages are just the obvious ones. No need to elect the
ZooKeeper servers at runtime and start/stop the service.
Avery
On 5/26/12 10:40 PM, Roman Shaposhnik wrote:
> On Fri, May 25, 2012 at 4:54 PM, Avery Ching<ac...@apache.org> wrote:
>> Yes, see
>>
>> GiraphJob.java
> Thanks! Any pro/cons of running it with existing ensemble vs. a dynamic one?
>
> Thanks,
> Roman.
Re: External zookeeper
Posted by Roman Shaposhnik <ro...@shaposhnik.org>.
On Fri, May 25, 2012 at 4:54 PM, Avery Ching <ac...@apache.org> wrote:
> Yes, see
>
> GiraphJob.java
Thanks! Any pro/cons of running it with existing ensemble vs. a dynamic one?
Thanks,
Roman.
Re: External zookeeper
Posted by Avery Ching <ac...@apache.org>.
Yes, see
GiraphJob.java
/**
* Utilize an existing ZooKeeper service. If this is not set, ZooKeeper
* will be dynamically started by Giraph for this job.
*
* @param serverList Comma separated list of servers and ports
* (i.e. zk1:2221,zk2:2221)
*/
public final void setZooKeeperConfiguration(String serverList) {
conf.set(ZOOKEEPER_LIST, serverList);
}
On 5/25/12 4:50 PM, Roman Shaposhnik wrote:
> Hi!
>
> Does Giraph allow for use of external deployment of Zookeeper?
>
> Thanks,
> Roman.