You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by researcher cs <pr...@gmail.com> on 2016/03/05 16:06:15 UTC
Real cluster configuration
I tested topology in one mavhine with localhost and worker fine , Now i
want to run it in real cluster with two machines
i installed storm in machine 2 and wrote in storm.yaml
storm.zookeeper.servers:
- "nameOfMachine1"
nimbus.host: "IpAddressOfMachine1"
drpc.servers:
- "nameOfMachine1"
storm.yaml of Machine 1
storm.zookeeper.servers:
- "nameOfMachine1"
nimbus.host: "127.0.0.1"
i set drpc.server in code with IpAddressOfMachine1
i installed ssh to connect two machine
it's suppose as i got to run
zookeeper,nimbus and drpc in Machine 1 and supervisor in Machine2
when i did that i got in running supervisor
at backtype.storm.command.config_value.main(Unknown Source)
Exception in thread "main" while parsing a block mapping
in 'reader', line 2, column 2:
storm.zookeeper.servers:
^
expected <block end>, but found BlockMappingStart
in 'reader', line 9, column 3:
nimbus.host: "IpAddressOfMachine1"
How can i fix it ?
Thanks in advance
Re: Real cluster configuration
Posted by researcher cs <pr...@gmail.com>.
yes i reviewed it again and fixed it thanks
On Sat, Mar 5, 2016 at 6:00 PM, Lohith Samaga M <Lo...@mphasis.com>
wrote:
> Hi
> It could be a formatting/indentation issue in the yaml file .
>
> Lohith
>
> Sent from my Sony Xperia™ smartphone
>
>
> ---- researcher cs wrote ----
>
>
> I tested topology in one mavhine with localhost and worker fine , Now i
> want to run it in real cluster with two machines
>
> i installed storm in machine 2 and wrote in storm.yaml
> storm.zookeeper.servers:
> - "nameOfMachine1"
> nimbus.host: "IpAddressOfMachine1"
> drpc.servers:
> - "nameOfMachine1"
>
> storm.yaml of Machine 1
> storm.zookeeper.servers:
> - "nameOfMachine1"
> nimbus.host: "127.0.0.1"
>
> i set drpc.server in code with IpAddressOfMachine1
>
> i installed ssh to connect two machine
> it's suppose as i got to run
> zookeeper,nimbus and drpc in Machine 1 and supervisor in Machine2
> when i did that i got in running supervisor
> at backtype.storm.command.config_value.main(Unknown Source)
> Exception in thread "main" while parsing a block mapping
> in 'reader', line 2, column 2:
> storm.zookeeper.servers:
> ^
> expected <block end>, but found BlockMappingStart
> in 'reader', line 9, column 3:
> nimbus.host: "IpAddressOfMachine1"
>
> How can i fix it ?
> Thanks in advance
>
>
>
>
> Information transmitted by this e-mail is proprietary to Mphasis, its
> associated companies and/ or its customers and is intended
> for use only by the individual or entity to which it is addressed, and may
> contain information that is privileged, confidential or
> exempt from disclosure under applicable law. If you are not the intended
> recipient or it appears that this mail has been forwarded
> to you without proper authority, you are notified that any use or
> dissemination of this information in any manner is strictly
> prohibited. In such cases, please notify us immediately at
> mailmaster@mphasis.com and delete this mail from your records.
>
RE: Real cluster configuration
Posted by Lohith Samaga M <Lo...@mphasis.com>.
Hi
It could be a formatting/indentation issue in the yaml file .
Lohith
Sent from my Sony Xperia™ smartphone
---- researcher cs wrote ----
I tested topology in one mavhine with localhost and worker fine , Now i want to run it in real cluster with two machines
i installed storm in machine 2 and wrote in storm.yaml
storm.zookeeper.servers:
- "nameOfMachine1"
nimbus.host: "IpAddressOfMachine1"
drpc.servers:
- "nameOfMachine1"
storm.yaml of Machine 1
storm.zookeeper.servers:
- "nameOfMachine1"
nimbus.host: "127.0.0.1"
i set drpc.server in code with IpAddressOfMachine1
i installed ssh to connect two machine
it's suppose as i got to run
zookeeper,nimbus and drpc in Machine 1 and supervisor in Machine2
when i did that i got in running supervisor
at backtype.storm.command.config_value.main(Unknown Source)
Exception in thread "main" while parsing a block mapping
in 'reader', line 2, column 2:
storm.zookeeper.servers:
^
expected <block end>, but found BlockMappingStart
in 'reader', line 9, column 3:
nimbus.host: "IpAddressOfMachine1"
How can i fix it ?
Thanks in advance
Information transmitted by this e-mail is proprietary to Mphasis, its associated companies and/ or its customers and is intended
for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded
to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at mailmaster@mphasis.com and delete this mail from your records.