Hello!
There is no such a restriction. In storm.yaml you have the
storm.zookeeper.servers section:
storm.zookeeper.servers:
- "server1"
- "server2"
Here you can configure your zookeper cluster. If you are using Amazon EC2,
a good start for testing Storm in cloud, is Kasper' Madsen project
https://github.com/KasperMadsen/storm-deploy-alternative
The default configuration creates a VM with one single zookeper cluster
that is outside the Storm cluster. Please have a look.
I have used too and it was really helpful.
Hope that these help.
Best regards,
Florin
On Mon, Sep 15, 2014 at 10:13 AM, Vikas Agarwal <[email protected]>
wrote:
> I guess there is no such restriction. Only thing is that when the load on
> the cluster is high (e.g. you very high number of messages to be processed
> by the topology), it is better to have zookepeer on separate cluster
> because zookeeper and storm nodes would fight for resources on the machine.
> Otherwise you can even keep all prcoesses on same machine which we usually
> do for POCs. Right now I am doing POC with 2 machines and both running
> zookeeper servers and storm supervisors. Nimbus is running on one of them.
>
> On Mon, Sep 15, 2014 at 12:04 PM, Jiang Jacky <[email protected]> wrote:
>
>> Hi, guys,
>> i have built up some storm applications so far, those are part of
>> zookeeper cluster. but when i try to read document from zookeeper, it's
>> high recommended the zookeeper should run in the dedicated servers as its
>> cluster. so, i am confused, can i separate the storm cluster with
>> zookeeper? eg i have 3 nodes for zookeeper and 10 nodes for storm, can i
>> use those 3 nodes in the storm.yaml for the configuration? and pickup up
>> one of 3 zookeeper nodes as storm's nimbus?
>> please let me know.
>> thanks
>>
>
>
>
> --
> Regards,
> Vikas Agarwal
> 91 – 9928301411
>
> InfoObjects, Inc.
> Execution Matters
> http://www.infoobjects.com
> 2041 Mission College Boulevard, #280
> Santa Clara, CA 95054
> +1 (408) 988-2000 Work
> +1 (408) 716-2726 Fax
>
>