Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> is it possible to run multiple servers on the same machine and have data replication working?


+
Peter Litvak 2012-08-31, 20:05
+
Patrick Hunt 2012-08-31, 20:36
Copy link to this message
-
Re: is it possible to run multiple servers on the same machine and have data replication working?
Hi Peter,

running multiple instances on the same machine is no problem.
You just have to use different config-files (zoo.cfg), and set different
data-dirs in them (dataDir=...).

Hartmut
2012/8/31 Patrick Hunt <[EMAIL PROTECTED]>

> Take a look at this: https://github.com/phunt/zkconf If you run it
> with --count=x (see the examples) it will generate the proper configs,
> as well as a start script to run all locally.
>
> Patrick
>
> On Fri, Aug 31, 2012 at 1:05 PM, Peter Litvak <[EMAIL PROTECTED]>
> wrote:
> > Hi All,
> >
> > There is an explanation on how to run multiple instances of the zookeeper
> > server on the same machine (in getting started) but that seems doesn't
> > allow data replication between those servers.
> > Is there a way to achieve a data replication among servers running on the
> > same machine?
> >
> > I suspect that the answer is NO, just wanted to make sure.
> >
> > Thank you,
> > Peter
>
+
Peter Litvak 2012-09-01, 20:46
+
Jordan Zimmerman 2012-09-01, 20:51
+
Peter Litvak 2012-09-01, 21:02
+
Hartmut Lang 2012-09-02, 12:48
+
Peter Litvak 2012-09-05, 21:13
+
Peter Litvak 2012-09-05, 21:46