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

2014-04-29 Thread Derek Dagit

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?

2014-04-29 Thread Michael Rose
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/
mich...@fullcontact.com


On Tue, Apr 29, 2014 at 8:29 AM, Derek Dagit der...@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?

2014-04-29 Thread Sajith
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 mich...@fullcontact.comwrote:

 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/
 mich...@fullcontact.com


 On Tue, Apr 29, 2014 at 8:29 AM, Derek Dagit der...@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 ?