Are you trying to set up distributed mode on a single machine?

You might need to add a line to /etc/hosts
127.0.0.1       NameOfYourMachine

Using "localhost" as name for 127.0.0.1 confuses Storm...


-Matthias

On 12/25/2015 09:18 PM, sam mohel wrote:
> i have in /etc/hosts
> #192.168.x.x    localhost1
> 127.0.0.1      localhost
> #127.0.1.1      localhost2
> 
> # The following lines are desirable for IPv6 capable hosts
> #::1     ip6-localhost ip6-loopback
> #fe00::0 ip6-localnet
> #ff00::0 ip6-mcastprefix
> #ff02::1 ip6-allnodes
> #ff02::2 ip6-allrouters
> 
> now the storm.yaml is
> storm.zookeeper.servers:
>      - "127.0.0.1"
> nimbus.host: "127.0.0.1"
> storm.zookeeper.port: 2181
> storm.local.dir: "/home/user/mywork/storm"
> java.library.path: "/usr/lib/jvm/java-6-oracle/lib:/usr/local/lib"
> 
> supervisor.childopts: "-Djava.net.preferIPv4Stack=true"
> nimbus.childopts: "-Xmx1024m -Djava.net.preferIPv4Stack=true"
> worker.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
> ui.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
> supervisor.slots.ports:
>     - 6700
>     - 6701
>     - 6702
>     - 6703
> 
> is that configuration right or not ?
> and
> what is the host should be in the storm ui ?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to