cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asha Subramanian <>
Subject Problems Starting Cassandra Server -
Date Wed, 18 Jan 2012 01:58:48 GMT

I am a new user of Cassandra and want to understand the basics of Cassandra before moving
to cluster installations etc..

I picked up the latest version of Cassandra from the home page 1.0.7 released on 2012/01/16.
I am installing on Windows 7

I have followed all the instx for changing the Cassandra.yaml and also the environment variables..
However when I start the server, I get the following error -

What could be the problem ???

Starting Cassandra Server
INFO 07:22:37,766 Logging initialized
INFO 07:22:37,828 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_30
INFO 07:22:37,844 Heap size: 1070399488/1070399488
INFO 07:22:37,844 Classpath: F:\cassandra\conf;F:\cassandra\lib\antlr-3.2.jar;F
INFO 07:22:37,859 JNA not found. Native methods will be disabled.
INFO 07:22:37,891 Loading settings from file:/F:/cassandra/conf/cassandra.yaml
ERROR 07:22:38,234 Fatal configuration error error
Can't construct a java object for,2002:org.apache.cassandra.config.
Config; exception=Cannot create property=data_file_directories for JavaBean=org.
apache.cassandra.config.Config@1329642; 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.constr
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(Base
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
        at org.yaml.snakeyaml.Loader.load(
        at org.yaml.snakeyaml.Yaml.load(
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescr
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCa
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstrac
        at org.apache.cassandra.thrift.CassandraDaemon.main(
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create property=data_f
ile_directories for JavaBean=org.apache.cassandra.config.Config@1329642; No sing
le argument constructor found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
        at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
        ... 9 more
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument constructo
r found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
        ... 11 more
null; Can't construct a java object for,2002:org.apache.cassandra.c
onfig.Config; exception=Cannot create property=data_file_directories for JavaBea
n=org.apache.cassandra.config.Config@1329642; No single argument constructor fou
nd for class [Ljava.lang.String;
Invalid yaml; unable to start server.  See log for stacktrace.

From: Jeremiah Jordan []
Sent: Wednesday, January 18, 2012 4:34 AM
Subject: Re: nodetool ring question

There were some nodetool ring load reporting issues with early version of 1.0.X don't remember
when they were fixed, but that could be your issue.  Are you using compressed column families,
a lot of the issues were with those.
Might update to 1.0.7.


On 01/16/2012 04:04 AM, Michael Vaknine wrote:

I have a 4 nodes cluster 1.0.3 version

This is what I get when I run nodetool ring

Address         DC          Rack        Status State   Load            Owns    Token
                                                                               127605887595351923798765477786913079296     datacenter1 rack1       Up     Normal  46.47 GB        25.00%  0       datacenter1 rack1       Up     Normal  48.01 GB        25.00%  42535295865117307932921825928971026432    datacenter1 rack1       Up     Normal  53.7 GB         25.00%  85070591730234615865843651857942052864       datacenter1 rack1       Up     Normal  43.49 GB        25.00%  127605887595351923798765477786913079296

I have finished running repair on all 4 nodes.

I have less then 10 GB on the /var/lib/cassandra/data/ folders

My question is Why nodetool reports almost 50 GB on each node?



The contents of this e-mail and any attachment(s) are confidential and intended for the named
recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or
opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and
/ or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited.
If you have
received this email in error please delete it and notify the sender immediately. Before opening
any mail and
attachments please check them for viruses and defect.


View raw message