incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinibas Rao <srinibas.velum...@gmail.com>
Subject exception=Cannot create property=data_file_directories for JavaBean=org.apache.cassandra.config.Config@1d6a56e
Date Wed, 21 Dec 2011 13:06:39 GMT
hi all

i am new to Cassandra

my Cassandra Version is 1.0.6 ,0.8.9

while starting the Cassandra Server with Single Node i am getting the
following error

For Version 0.7.5 every thing works fine.

ERROR [main] 2011-12-20 00:58:17,666 DatabaseDescriptor.java (line 428)
Fatal configuration error error
Can't construct a java object for
tag:yaml.org,2002:org.apache.cassandra.config.Config;
exception=Cannot create property=data_file_directories for
JavaBean=org.apache.cassandra.config.Config@1d6a56e; No single argument
constructor found for class [Ljava.lang.String;
 in "<reader>", line 10, column 1:
    cluster_name: 'Test Cluster'
    ^

at
org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:372)
at
org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:177)
at
org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:136)
at
org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122)
at org.yaml.snakeyaml.Loader.load(Loader.java:52)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
at
org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:139)
at
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:131)
at
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:343)
at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97)
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create
property=data_file_directories for
JavaBean=org.apache.cassandra.config.Config@1d6a56e; No single argument
constructor found for class [Ljava.lang.String;
at
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:305)
at
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:184)
at
org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:370)
... 9 more
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument
constructor found for class [Ljava.lang.String;
at
org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(Constructor.java:419)
at
org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:177)
at
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:298)
... 11 more

Thanks in Advance
Srinibas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message