I am configuring Cassendra 1.0 on CentOS 5.7 but getting stacked when
running the command "cassandra -f". Here is the error message-
Caused by: expected '<document start>', but found BlockMappingStart
in 'reader', line 24, column 1:
storm.zookeeper.port: 2181
^
at
org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:225)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)
at
org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:424)
at backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:141)
at backtype.storm.utils.Utils.readStormConfig(Utils.java:188)
at backtype.storm.utils.Utils.<clinit>(Utils.java:71)
... 100 more
Following is my storm.yaml file in /conf folder:
---
java.library.path: /usr/local/lib
nimbus.childopts: "-Xmx512m"
nimbus.host: localhost
storm.local.dir: /var/stormtmp
storm.zookeeper.port: 2181
storm.zookeeper.servers:
- localhost
supervisor.childopts: "-Xmx256m"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
worker.childopts: "-Xmx768m"
Haven't got any answers from stack overflow as of now, can somebody
please suggest where am I going wrogn?
Also if I comment the whole storm.yaml file the error remains the
same, but if I make some syntax error in storm.yaml file it does
reflect in the error stack, along with other erross