Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-27 Thread Vineet Mishra
Hey Patricia, Thanks for your kind response. I will surely take care of that provided the use of virtual nodes. Thanks again! On Tue, Aug 26, 2014 at 10:42 PM, Patricia Gorla wrote: > Vineet, > > One more thing -- you have initial_token and num_tokens both set. If you > are trying to use virt

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Patricia Gorla
Vineet, One more thing -- you have initial_token and num_tokens both set. If you are trying to use virtual nodes, you should comment out initial_token as this setting overrides num_tokens. Cheers, On Tue, Aug 26, 2014 at 5:39 AM, Vineet Mishra wrote: > Thanks Vivek! > > It was indeed a format

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Vineet Mishra
Thanks Vivek! It was indeed a formatting issue in yaml, got it work! On Tue, Aug 26, 2014 at 6:06 PM, Vivek Mishra wrote: > Please read about http://www.yaml.org/start.html. > Looks like formatting issue. You might be missing/adding incorrect spaces > > Validate your YAML file. This should hel

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Vivek Mishra
Please read about http://www.yaml.org/start.html. Looks like formatting issue. You might be missing/adding incorrect spaces Validate your YAML file. This should help you out http://yamllint.com/ -Vivek On Tue, Aug 26, 2014 at 4:20 PM, Vineet Mishra wrote: > Hi Mark, > > Yes I was generating m

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Vineet Mishra
Hi Mark, Yes I was generating my own cassandra.yaml with the configuration mentioned below, cluster_name: 'node' initial_token: 0 num_tokens: 256 seed_provider: - class_name: org.apache.cassandra.locator.SimpleSeedProvider parameters: - seeds: "192.168.1.32" listen_address: 192.168.1.32 r

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Mark Reddy
You are missing commitlog_sync in your cassandra.yaml. Are you generating your own cassandra.yaml or editing the package default? If you are generating your own there are several configuration options that are required and if not present, Cassandra will fail to start. Regards, Mark On 26 Augus

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Vineet Mishra
Thanks Mark, That was indeed yaml formatting issue. Moreover I am getting the underlying error now, INFO 15:33:43,770 Loading settings from file:/home/cluster/cassandra/conf/cassandra.yaml INFO 15:33:44,100 Data files directories: [/var/lib/cassandra/data] INFO 15:33:44,101 Commit log directory:

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Mark Reddy
It is telling you that your yaml is invalid, from looking at the snippet you have provided it looks like the seed_provider.parameters is not correctly indented, it should look something like: seed_provider: - class_name: org.apache.cassandra.locator.SimpleSeedProvider parameters: -

Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Vineet Mishra
Hi All, I am installing Cassandra Multinode Setup on a 4 node CentOs Cluster, my cassandra.yaml looks like so cluster_name: 'node' initial_token: 0 num_tokens: 256 seed_provider: - class_name: org.apache.cassandra.locator.SimpleSeedProvider parameters: - seeds: "192.168.1.32" listen_addre