i used 127.0.0.1 user-Lenovo-G50-70 in /etc/hosts i'm using two laptops one of them server lenevo and other hp "client" i installed ssh in server and connect to hp lap from leneveo lap server and ran zookeeper server in hp and nimbus,ui,drpc in lenevo
but supervisor i ran it in both what i got in storm ui zeros in emitted and transfered On Sat, Dec 26, 2015 at 2:21 PM, Matthias J. Sax <[email protected]> wrote: > 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 ? > >
