Cluster config .

2014-09-18 Thread Muthukumar Somasundaram (ETS)
Hi 

I am planning to build a Cassandra cluster. 

I have downloaded community version of Cassandra (windows) and trying to make 
it a cluster.

As a first step I have changed the IP address in Cassandra.yalm file (seeds 
value ) from 127.0.0.1 to actual IP .eg. 10.130.12.44  since I have add the ip 
address of all nodes in cluster. I am yet to add the ip of another node yet. 
But the service start up failed with below error.

- seeds: "10.130.12.44"

Post performing this change I tried to the start the service. Am I moving in 
correct direction. Please advise.

Error Message :

INFO [main] 2014-09-18 12:50:32,102 CassandraDaemon.java (line 135) Logging 
initialized
  INFO [main] 2014-09-18 12:50:32,211 YamlConfigurationLoader.java (line 76) 
Loading settings from 
file:/C:/Program%20Files/DataStax%20Community/apache-cassandra/conf/cassandra.yaml
 ERROR [main] 2014-09-18 12:50:32,757 DatabaseDescriptor.java (line 116) Fatal 
configuration error
 org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml
at 
org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:100)
at 
org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:135)
at 
org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:111)
at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:156)
at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
Caused by: Can't construct a java object for 
tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot create 
property=seed_provider for 
JavaBean=org.apache.cassandra.config.Config@5e47b1b9; No suitable constructor 
with 2 arguments found for class org.apache.cassandra.config.SeedProviderDef
 in 'reader', line 8, column 1:
cluster_name: 'Test Cluster' 
^

at 
org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:333)
at 
org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)
at 
org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:141)
at 
org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:127)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481)
at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:475)
at 
org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:93)
... 5 more
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create 
property=seed_provider for 
JavaBean=org.apache.cassandra.config.Config@5e47b1b9; No suitable constructor 
with 2 arguments found for class org.apache.cassandra.config.SeedProviderDef
at 
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:299)
at 
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:189)
at 
org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:331)
... 11 more
Caused by: org.yaml.snakeyaml.error.YAMLException: No suitable constructor with 
2 arguments found for class org.apache.cassandra.config.SeedProviderDef
at 
org.yaml.snakeyaml.constructor.Constructor$ConstructSequence.construct(Constructor.java:573)
at 
org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)
at 
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:296)
... 13 more

Regards
Muthukumar.S




::DISCLAIMER::


The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or 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 authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

--

Re: [VOTE] Release Apache Cassandra 1.2.19

2014-09-18 Thread Jake Luciani
With 5 binding, 2 non-binding +1 and no -1 the vote passes.  I'll publish
the release

On Fri, Sep 12, 2014 at 1:16 PM, Jake Luciani  wrote:

> I propose the following artifacts for release as 1.2.19.  This will likely
> be the last release in this series.
>
> sha1: 2d29ebd41592d83f899cbbf56823f1f5bf0f01c9
> Git:
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.2.19-tentative
> Artifacts:
> https://repository.apache.org/content/repositories/orgapachecassandra-1032/org/apache/cassandra/apache-cassandra/1.2.19/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-1032/
>
> The artifacts as well as the debian package is also available here:
> http://people.apache.org/~jake
>
> The vote will be open for 72 hours (longer if needed).
>
> [1]: http://goo.gl/F6szqv (CHANGES.txt)
> [2]: http://goo.gl/9VsZ88 (NEWS.txt)
>


Re: Cluster config .

2014-09-18 Thread Tyler Hobbs
This belongs on the user mailing list (u...@cassandra.apache.org).  The dev
mailing list is for development of Cassandra itself.

On Thu, Sep 18, 2014 at 2:43 AM, Muthukumar Somasundaram (ETS) <
muthukum...@hcl.com> wrote:

> Hi
>
> I am planning to build a Cassandra cluster.
>
> I have downloaded community version of Cassandra (windows) and trying to
> make it a cluster.
>
> As a first step I have changed the IP address in Cassandra.yalm file
> (seeds value ) from 127.0.0.1 to actual IP .eg. 10.130.12.44  since I have
> add the ip address of all nodes in cluster. I am yet to add the ip of
> another node yet. But the service start up failed with below error.
>
> - seeds: "10.130.12.44"
>
> Post performing this change I tried to the start the service. Am I moving
> in correct direction. Please advise.
>
> Error Message :
>
> INFO [main] 2014-09-18 12:50:32,102 CassandraDaemon.java (line 135)
> Logging initialized
>   INFO [main] 2014-09-18 12:50:32,211 YamlConfigurationLoader.java (line
> 76) Loading settings from
> file:/C:/Program%20Files/DataStax%20Community/apache-cassandra/conf/cassandra.yaml
>  ERROR [main] 2014-09-18 12:50:32,757 DatabaseDescriptor.java (line 116)
> Fatal configuration error
>  org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml
> at
> org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:100)
> at
> org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:135)
> at
> org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:111)
> at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:156)
> at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
> at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
> Caused by: Can't construct a java object for 
> tag:yaml.org,2002:org.apache.cassandra.config.Config;
> exception=Cannot create property=seed_provider for
> JavaBean=org.apache.cassandra.config.Config@5e47b1b9; No suitable
> constructor with 2 arguments found for class
> org.apache.cassandra.config.SeedProviderDef
>  in 'reader', line 8, column 1:
> cluster_name: 'Test Cluster'
> ^
>
> at
> org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:333)
> at
> org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)
> at
> org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:141)
> at
> org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:127)
> at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481)
> at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:475)
> at
> org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:93)
> ... 5 more
> Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create
> property=seed_provider for
> JavaBean=org.apache.cassandra.config.Config@5e47b1b9; No suitable
> constructor with 2 arguments found for class
> org.apache.cassandra.config.SeedProviderDef
> at
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:299)
> at
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:189)
> at
> org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:331)
> ... 11 more
> Caused by: org.yaml.snakeyaml.error.YAMLException: No suitable constructor
> with 2 arguments found for class org.apache.cassandra.config.SeedProviderDef
> at
> org.yaml.snakeyaml.constructor.Constructor$ConstructSequence.construct(Constructor.java:573)
> at
> org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)
> at
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:296)
> ... 13 more
>
> Regards
> Muthukumar.S
>
>
>
>
> ::DISCLAIMER::
>
> 
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in
> transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability
> on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modific