You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Sajith <sa...@gmail.com> on 2014/04/29 07:41:44 UTC

Is it a must to have /etc/hosts mapping or a DNS in a multinode setup?

Hi all,

Is it a must to have a /etc/hosts mapping or a DNS in a multinode storm
cluster? Can't supervisors talk to each other through ZooKeeper or nimbus
using IP addresses directly ?

Re: Is it a must to have /etc/hosts mapping or a DNS in a multinode setup?

Posted by Sajith <sa...@gmail.com>.
Thank you very much Derek and Michael for you responses.

@Michael : Is there any specific reason for using hostnames / ips instead
of  /etc/hosts mappings?


On Tue, Apr 29, 2014 at 8:25 PM, Michael Rose <mi...@fullcontact.com>wrote:

> We don't use /etc/hosts mapping, we only use hostnames / ips.
>
> Michael Rose (@Xorlev <https://twitter.com/xorlev>)
> Senior Platform Engineer, FullContact <http://www.fullcontact.com/>
> michael@fullcontact.com
>
>
> On Tue, Apr 29, 2014 at 8:29 AM, Derek Dagit <de...@yahoo-inc.com> wrote:
>
>> I have not tried it, but there is a config for this purpose:
>>
>> https://github.com/apache/incubator-storm/blob/
>> dc4de425eef5701ccafe0805f08eeb011baae0fb/storm-core/src/jvm/
>> backtype/storm/Config.java#L122-L131
>> --
>> Derek
>>
>>
>> On 4/29/14, 0:41, Sajith wrote:
>>
>>> Hi all,
>>>
>>> Is it a must to have a /etc/hosts mapping or a DNS in a multinode storm
>>> cluster? Can't supervisors talk to each other through ZooKeeper or nimbus
>>> using IP addresses directly ?
>>>
>>>
>

Re: Is it a must to have /etc/hosts mapping or a DNS in a multinode setup?

Posted by Michael Rose <mi...@fullcontact.com>.
We don't use /etc/hosts mapping, we only use hostnames / ips.

Michael Rose (@Xorlev <https://twitter.com/xorlev>)
Senior Platform Engineer, FullContact <http://www.fullcontact.com/>
michael@fullcontact.com


On Tue, Apr 29, 2014 at 8:29 AM, Derek Dagit <de...@yahoo-inc.com> wrote:

> I have not tried it, but there is a config for this purpose:
>
> https://github.com/apache/incubator-storm/blob/
> dc4de425eef5701ccafe0805f08eeb011baae0fb/storm-core/src/jvm/
> backtype/storm/Config.java#L122-L131
> --
> Derek
>
>
> On 4/29/14, 0:41, Sajith wrote:
>
>> Hi all,
>>
>> Is it a must to have a /etc/hosts mapping or a DNS in a multinode storm
>> cluster? Can't supervisors talk to each other through ZooKeeper or nimbus
>> using IP addresses directly ?
>>
>>

Re: Is it a must to have /etc/hosts mapping or a DNS in a multinode setup?

Posted by Derek Dagit <de...@yahoo-inc.com>.
I have not tried it, but there is a config for this purpose:

https://github.com/apache/incubator-storm/blob/dc4de425eef5701ccafe0805f08eeb011baae0fb/storm-core/src/jvm/backtype/storm/Config.java#L122-L131
-- 
Derek

On 4/29/14, 0:41, Sajith wrote:
> Hi all,
>
> Is it a must to have a /etc/hosts mapping or a DNS in a multinode storm
> cluster? Can't supervisors talk to each other through ZooKeeper or nimbus
> using IP addresses directly ?
>