Re: Using CCM with Opscenter and manual agent installation

2016-01-07 Thread Nick Bailey
Cassandra switched jmx to only bind to localhost, so I believe you just need to change jmx_host to localhost for all conf files. On Thu, Jan 7, 2016 at 4:48 PM, Giampaolo Trapasso < giampaolo.trapa...@radicalbit.io> wrote: > Thanks Michael for the reply. I'm quite new to Cassandra, so it make

Re: Using CCM with Opscenter and manual agent installation

2016-01-07 Thread Nick Bailey
stomp_interface is the address to connect back to the central OpsCenter daemon with, so 127.0.0.1 should be correct. I believe the issue is just jmx_host needing to be set to 'localhost' On Thu, Jan 7, 2016 at 8:50 PM, Michael Shuler wrote: > On 01/07/2016 08:46 PM,

Re: Status of OPSC-4080 ?

2015-08-05 Thread Nick Bailey
that Arre said on December 14th 2014 that hopefully it would be fixed in next 5.1.x. However it seems it hasn't been fixed yet. Any more information on the status of this ticket ? Thanks -- Cyril SCETBON -- Nick Bailey OpsCenter Architect | n...@datastax.com http://cassandrasummit

Re: Deploying OpsCenter behind a HTTP(S) proxy

2015-06-23 Thread Nick Bailey
Unfortunately OpsCenter doesn't currently support running behind a proxy, because of the issues you've discovered. Fixing this is on our roadmap though, but I unfortunately can't give a specific date or release when we will get to it. You will definitely see it in the release notes when we release

Re: Datastax Enterprise AMI EC2

2015-03-24 Thread Nick Bailey
This is a known issue with older versions of the AMI. Use the 2.5.1 version of the AMI (seehttps:// raw.githubusercontent.com/riptano/ComboAMI/2.5/ami_ids.json for the ids for your region). For a more detailed discussion of what's going wrong, see this StackExchange

Re: Adding a Cassandra node using OpsCenter

2015-03-12 Thread Nick Bailey
There isn't an OpsCenter specific mailing list no. To answer your question, the reason OpsCenter provisioning doesn't support 2.0.10 and 2.0.11 is due to https://issues.apache.org/jira/browse/CASSANDRA-8072. That bug unfortunately prevents OpsCenter provisioning from working correctly, but isn't

Re: Adding a Cassandra node using OpsCenter

2015-03-12 Thread Nick Bailey
be monitored from Opscenter? Thanks Ajay On 12-Mar-2015 10:19 pm, Nick Bailey n...@datastax.com wrote: There isn't an OpsCenter specific mailing list no. To answer your question, the reason OpsCenter provisioning doesn't support 2.0.10 and 2.0.11 is due to https://issues.apache.org/jira/browse

Re: How to remove obsolete error message in Datastax Opscenter?

2015-02-09 Thread Nick Bailey
To clarify what Chris said, restarting opscenter will remove the notification, but we also have a bug filed to make that behavior a little better and allow dismissing that notification without a restart. Thanks for reporting the issue! -Nick On Mon, Feb 9, 2015 at 9:00 AM, Chris Lohfink

Re: opscenter: 0 of 0 agents connected, but /nodes/all gives 3 results

2014-12-02 Thread Nick Bailey
Often this is caused by the agent version not matching the OpsCenter version. Unfortunately the UI currently reports a version mismatch as 'not installed'. Can you check the versions of your OpsCenter and agent installs? On Tue, Dec 2, 2014 at 5:06 PM, Nikolai Grigoriev ngrigor...@gmail.com

Re: opscenter with community cassandra

2014-10-28 Thread Nick Bailey
OpsCenter does work with Apache Cassandra however it isn't always immediately compatible with new releases of Cassandra. It will work somewhat with Cassandra 2.1 but there is definitely some functionality that is broken. You can check the release notes for new versions of OpsCenter to monitor when

Re: How often are JMX Cassandra metrics reset?

2014-08-28 Thread Nick Bailey
Those percentile values should be for the lifetime of the node yes. Depending on what version of OpsCenter you are using it is either using the 'recent' metrics described by Rob, or it is using the FiveMinuteRate from JMX as well as doing some of it's own aggregation depending on the rollup size.

Re: Multi-DC Repairs and Token Questions

2014-06-03 Thread Nick Bailey
See https://issues.apache.org/jira/browse/CASSANDRA-7317 On Mon, Jun 2, 2014 at 8:57 PM, Matthew Allen matthew.j.al...@gmail.com wrote: Hi Rameez, Chovatia, (sorry I initially replied to Dwight individually) SN_KEYSPACE and MY_KEYSPACE are just typos (was try to mask out identifiable

Re: Opscenter help?

2014-03-13 Thread Nick Bailey
I'm happy to help here as well :) Can you give some more information? Specifically: What exact versions of EL5 and EL6 have you tried? What version of OpsCenter are you using? What file/dependency is rpm/yum saying conflicts with sudo? Also, you can find the OpsCenter documentation here

Re: Question 1: JMX binding, Question 2: Logging

2014-02-05 Thread Nick Bailey
Unfortunately, you can't change the interface jmx binds to initially. So in order to accomplish what you want you will need to use different jmx ports for each process. This is how ccm (https://github.com/pcmanus/ccm) accomplishes this as well. On Wed, Feb 5, 2014 at 9:35 AM, Kyle Crumpton

Re: Opscenter tabs

2014-01-24 Thread Nick Bailey
The tabs you see at the top of the page indicate distinct clusters not datacenters. Unfortunately you can not change the name used for these clusters, but I will note that as a feature request. In some situations it is possible to add the same cluster twice. If you click on 'Edit Cluster' after

Re: cassandra monitoring

2014-01-08 Thread Nick Bailey
Install Errored: Failure installing agent on beta.jokefire.com. Error output: /var/lib/opscenter/ssl/agentKeyStore.pem: No such file or directory Exit code: 1 This indicates that there was a problem generating ssl files when OpsCenter first started up. I would check the log around the first

Re: Opscenter Metrics

2014-01-02 Thread Nick Bailey
I believe the answer to your similar question on server fault should answer this: http://serverfault.com/questions/564107/what-does-opscenters-write-requests-count-shown-as-ops-sec-exactly-mean On Tue, Dec 31, 2013 at 12:55 AM, Arun Kumar K arunk...@gmail.com wrote: Hi guys, I am using YCSB

Re: OpsCenter CQL support

2013-11-21 Thread Nick Bailey
OpsCenter only has limited CQL support. In the latest versions you should be able to see tables created with CQL but you aren't able to modify them or browse the data. For those type of operations we recommend DevCenter - http://www.datastax.com/what-we-offer/products-services/devcenter On Thu,

Re: Opscenter 3.2.2 (?) jmx auth issues

2013-10-18 Thread Nick Bailey
Sven, I've verified there is an issue with jmx authentication in the 3.2.2 release. Thanks for the bug report! Sorry it's giving you issues. The bug should be fixed in the next release of OpsCenter. Nick On Wed, Oct 16, 2013 at 8:07 PM, Sven Stark sven.st...@m-square.com.auwrote: Hi guys,

Re: datastax ops center shows a lot of activity when idle

2013-09-18 Thread Nick Bailey
OpsCenter's writes for monitoring data will show up in the request/latency graphs yes. 100/sec may be reasonable depending on the number of nodes and columnfamilies OpsCenter is monitoring. On Wed, Sep 18, 2013 at 7:15 AM, Alexander Shutyaev shuty...@gmail.comwrote: Hi all! We have

Re: Rebalancing vnodes cluster

2013-09-18 Thread Nick Bailey
OpsCenter only supports vnodes minimally at this point. More specifically, it chooses a random token that a node owns in order to display that node on the ring. So a vnode cluster will always appear unbalanced in OpsCenter. Your cluster is probably balanced fine, but 'nodetoo status' should

Re: Any good GUI based tool to manage data in Casandra?

2013-08-07 Thread Nick Bailey
OpsCenter allows CRUD of column families themselves (although not CQL3 column families). It only allows viewing the data inside column families though, no support for writing or updating. On Wed, Aug 7, 2013 at 12:54 PM, Aaron Morton aa...@thelastpickle.comwrote: I think on of the versions of

Re: JMX Latency stats

2013-07-10 Thread Nick Bailey
The column family specific numbers are reporting latencies local to the node. So a write/read that has reached the correct replica and just needs to hit memory/disk. The non column family specific numbers are reporting latencies from the coordinator. So the latency from the time the coordinator

Re: Opscenter access roles

2013-07-03 Thread Nick Bailey
OpsCenter uses http auth so the credentials will be saved by your browser. There are a couple things you could do. * Clear the local data/cache on your browser * Open your browser in private browsing/incognito mode * Manually enter credentials into the url: http:// user:pw@opscenter_ip:/

Re: opscentrer is spying

2013-06-20 Thread Nick Bailey
Thanks everyone. We always appreciate constructive criticism. Regarding what OpsCenter collects, we completely agree it should be documented more clearly. You can expect to see an update to the documentation later today. I will update this thread once that goes live. Regarding notifying the user

Re: opscentrer is spying

2013-06-20 Thread Nick Bailey
reaction from Datastax. Also thanks to Radim for the warning. Alain, Opscenter-free user. 2013/6/20 Nick Bailey n...@datastax.com Thanks everyone. We always appreciate constructive criticism. Regarding what OpsCenter collects, we completely agree it should be documented more clearly. You can

Re: opscentrer is spying

2013-06-20 Thread Nick Bailey
. Thanks, Dave On Thu, Jun 20, 2013 at 4:31 PM, Nick Bailey n...@datastax.com wrote: As promised, updated docs detailing the data collected by OpsCenter are now live. http://www.datastax.com/docs/opscenter/configure/configure_opscenter_adv#stat-reporter-interval -Nick On Thu, Jun 20, 2013

Re: opscentrer is spying

2013-06-17 Thread Nick Bailey
OpsCenter collects anonymous usage data and reports it back to DataStax. For example, number of nodes, keyspaces, column families, etc. Stat reporting isn't required to run OpsCenter however. To turn this feature off, see the docs here (stat_reporter):

Re: Specifying initial token in 1.2 fails

2013-01-04 Thread Nick Bailey
If you are planning on using murmur3 without vnodes (specifying your own tokens) there is a quick python script in the datastax docs you can use to generate balanced tokens. http://www.datastax.com/docs/1.2/initialize/token_generation#calculating-tokens-for-the-murmur3partitioner On Fri, Jan 4,

Re: can't get cqlsh running

2012-10-11 Thread Nick Bailey
It looks like easy_install is only recognizing python2.4 on your system. It is installing the cql module for that version. The cqlsh script explicitly looks for and runs with python2.6 since 2.4 isn't supported. I believe you can run 'python2.6 easy_install cql' to force it to use that python

Re: Persistent connection among nodes to communicate and redirect request

2012-10-02 Thread Nick Bailey
The comments here so far are correct. Cassandra itself will never open a thrift connection. Thrift is only for clients. Not sure what exactly you are seeing but I don't think it's cassandra. On Tue, Oct 2, 2012 at 10:48 AM, Niteesh kumar nitees...@directi.com wrote: not only a node make

Re: Helenos - web based gui tool

2012-09-07 Thread Nick Bailey
This is the node.js driver with a similar name: https://github.com/simplereach/helenus On Fri, Sep 7, 2012 at 9:07 AM, Robin Verlangen ro...@us2.nl wrote: It's also some kind of OS (link: http://www.helenos.org/ ), not a really unique name. However the software looks nice! Best regards,

Re: Opscenter 2.1 vs 1.3

2012-08-20 Thread Nick Bailey
are reminded that the information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this message in error, please contact the sender immediately and irrevocably delete this message and any copies. 2012/8/17 Nick

Re: Understanding UnavailableException

2012-08-18 Thread Nick Bailey
Last time I checked, this was not true for batch writes. The row mutations were started sequentially (ie, for each mutation check availability, then kick off an aynchronous write), so it was possible for the first to succeed, and the second to fail with an UnavailableException. Thats a good

Re: Opscenter 2.1 vs 1.3

2012-08-17 Thread Nick Bailey
Robin, Are you talking about total writes to the cluster, writes to a specific column family, or something else? There has been some changes to OpsCenters metric collection/storage system but nothing that should cause something like that. Also its possible the number of writes to the OpsCenter

Re: Understanding UnavailableException

2012-08-17 Thread Nick Bailey
This blog post should help: http://www.datastax.com/dev/blog/how-cassandra-deals-with-replica-failure But to answer your question: UnavailableException is bit tricky. It means, that not all replicas required by CL received update. Actually you do not know, whenever update was stored or not,

Re: Unbalanced ring in Cassandra 0.8.4

2012-06-19 Thread Nick Bailey
:29 PM, Nick Bailey n...@datastax.com wrote: Did you start all your nodes at the correct tokens or did you balance by moving them? Moving nodes around won't delete unneeded data after the move is done. Try running 'nodetool cleanup' on all of your nodes. On Fri, Jun 15, 2012 at 12:24 PM, Raj

Re: Unbalanced ring in Cassandra 0.8.4

2012-06-15 Thread Nick Bailey
This is just a known problem with the nodetool output and multiple DCs. Your configuration is correct. The problem with nodetool is fixed in 1.1.1 https://issues.apache.org/jira/browse/CASSANDRA-3412 On Fri, Jun 15, 2012 at 9:59 AM, Raj N raj.cassan...@gmail.com wrote: Hi experts,     I have a

Re: Unbalanced ring in Cassandra 0.8.4

2012-06-15 Thread Nick Bailey
, 2012 at 11:06 AM, Nick Bailey n...@datastax.com wrote: This is just a known problem with the nodetool output and multiple DCs. Your configuration is correct. The problem with nodetool is fixed in 1.1.1 https://issues.apache.org/jira/browse/CASSANDRA-3412 On Fri, Jun 15, 2012 at 9:59 AM, Raj N

Release: OpsCenter 2.1

2012-06-13 Thread Nick Bailey
Hey Everyone, Today we released version 2.1 of OpsCenter. The main theme of the release was around bug fixes, although there are a few small features that have been added. Some highlights: * Data Browser improvements * Online feedback form. * Optional HTTPS support. * Cross platform agent

Re: Possible bug in Cassandra 1.1.1 with NTS

2012-06-11 Thread Nick Bailey
The property file snitch isn't used by default. Did you change your cassandra.yaml to use PropertyFileSnitch so it reads cassandra-topology.properties? Also the formatting in your dc property file isn't right. It should be 'ip=dc:rack'. So: 127.0.0.1=dc-test:my-notebook On Mon, Jun 11, 2012 at

Re: Possible bug in Cassandra 1.1.1 with NTS

2012-06-11 Thread Nick Bailey
I don't know why I got no error in 1.0.8 with PropertyFileSnitch in cassandra.yaml and wrong syntax in cassandra-topology.properties. Not sure either. PS: I had to change JVM_OPTS in /etc/cassandra/cassandra-env.sh to use 160k instead 128k. This has not been fixed? Still marked as

Release: OpsCenter 2.0

2012-04-20 Thread Nick Bailey
Hey everyone, This past week we released OpsCenter 2.0. The main updates to the community version of this release are centered around performance and stability. These updates should greatly improve performance, especially in larger clusters. Some of the highlights include: * Refactoring of

Re: DataStax Opscenter 2.0 question

2012-04-18 Thread Nick Bailey
What version of firefox? Someone has reported a similar issue with firefox 3.6? Can you try with chrome or perhaps a more recent version of firefox (assuming you are also on an older version)? On Wed, Apr 18, 2012 at 4:51 PM, Jay Parashar jparas...@itscape.com wrote: I am having trouble in

Re: Lexer error at char '\u201C'

2012-04-18 Thread Nick Bailey
https://github.com/thobbs/flume-cassandra-plugin I think that is fairly up to date, right Tyler? On Wed, Apr 18, 2012 at 11:18 PM, Trevor Francis trevor.fran...@tgrahamcapital.com wrote: …..slaps himself. Oh you guys at Datastax are great. I have deployed a small Cassandra cluster using

Re: another DataStax OpsCenter question

2012-04-02 Thread Nick Bailey
/30 Nick Bailey n...@datastax.com Unfortunately at the moment OpsCenter only really supports having one instance per cluster. It may be possible to set up an instance in each datacenter, however it has not been tested and each opscenter instance would lose some functionality. On Fri, Mar 30

Re: another DataStax OpsCenter question

2012-03-30 Thread Nick Bailey
issues! Cheers, Alex On Thu, Mar 29, 2012 at 9:35 PM, Nick Bailey n...@datastax.com wrote: This setup may be possible although there are a few potential issues. Firstly, see: http://www.datastax.com/docs/opscenter/configure_opscenter#configuring-firewall-port-access Basically the agents

Re: cassandra gui

2012-03-29 Thread Nick Bailey
Just so you know. OpsCenter is a good tool for managing your cluster and viewing data in your keyspaces/columnfamilies (data besides string data currently doesn't display an extremely user friendly way, it will display hex). Currently you can not insert data to your cluster using the OpsCenter gui

Re: another DataStax OpsCenter question

2012-03-29 Thread Nick Bailey
This setup may be possible although there are a few potential issues. Firstly, see: http://www.datastax.com/docs/opscenter/configure_opscenter#configuring-firewall-port-access Basically the agents and OpsCenter communicate on ports 61620 and 61621 by default (those can be configured though). The

Re: cqlsh

2012-03-27 Thread Nick Bailey
If you are running on windows the msi installer for datastax community edition will install everything you need and add appropriate entries to your start menu for running the cql shell or the normal cli shell. You can get the installer here: http://www.datastax.com/download/community That might

Re: what other ports than 7199 need to be open for nodetool to work?

2012-03-26 Thread Nick Bailey
You are correct about the second random dynamic port. There is a ticket open to fix that as well as some other jmx issues: https://issues.apache.org/jira/browse/CASSANDRA-2967 Regarding nodetool, it doesn't do anything special. Nodetool is often used to connect to 'localhost' which generally

Re: unsubscribe

2012-02-14 Thread Nick Bailey
http://wiki.apache.org/cassandra/FAQ#unsubscribe On Tue, Feb 14, 2012 at 1:37 PM, Al a...@dude.podzone.net wrote:

Re: nodetool hangs and didn't print anything with firewall

2012-02-06 Thread Nick Bailey
JMX is not very firewall friendly. The problem is that JMX is a two connection process. The first connection happens on port 7199 and the second connection happens on some random port 1024. Work on changing this behavior was started in this ticket:

Re: datastax opscenter authentication

2012-01-23 Thread Nick Bailey
Unfortunately the current method using a password file is the only option for authentication in OpsCenter at the moment. I've noted PAM authentication as a feature request though. On Mon, Jan 23, 2012 at 8:16 AM, Ramesh Natarajan rames...@gmail.com wrote: I am trying to integrate opscenter in

Re: Creating column families per client

2011-12-21 Thread Nick Bailey
The overhead for column families was greatly reduced in 0.8 and 1.0. It should now be possible to have hundreds or thousands of column families. The setting 'memtable_total_space_in_mb' was introduced that allows for a global memtable threshold, and cassandra will handle flushing on its own. See

Re: Does OpsCenter have to be running all the time in order to collect the cluster stats?

2011-12-15 Thread Nick Bailey
for your fast response. So if the OpsCenter is down, then the stats for the cluster won't be collected. Is there any safe-guard mechanism, like a duplicate OpsCenter on second machine to monitor the cluster in case of single OpsCenter failure? Mike -Original Message- From: Nick

Re: Cleanup in a write-only environment

2011-11-30 Thread Nick Bailey
I believe you are mis-understanding what cleanup does. Cleanup is used to remove data from a node that the node no longer owns. For example when you move a node in the ring, it changes responsibility and gets new data, but does not automatically delete the data it used to be responsible for but no

Re: Issues with JMX monitoring -- v0.8.7

2011-11-23 Thread Nick Bailey
using Hector)? Ideally this would be as low cost an operation on the Cassandra node as possible, since it is just monitoring statuses (stati?). On Tue, Nov 22, 2011 at 1:15 PM, Nick Bailey n...@datastax.com wrote: There are quite a few attributes

Re: Issues with JMX monitoring -- v0.8.7

2011-11-22 Thread Nick Bailey
The StorageServiceMBean is only created once some reads/writes actually go to that node. Do a couple reads/writes from the CLI and you should see the MBean afterwards. This also means your monitoring application should handle this error in the case of nodes restarting. On Tue, Nov 22, 2011 at

Re: Issues with JMX monitoring -- v0.8.7

2011-11-22 Thread Nick Bailey
version. On Tue, Nov 22, 2011 at 1:02 PM, David McNelis dmcne...@agentisenergy.com wrote: Would there be a better bean to look at to ascertain the status that would be created when the server starts up? On Tue, Nov 22, 2011 at 11:47 AM, Nick Bailey n...@datastax.com wrote

Re: Quick DataStax OpsCenter question

2011-11-17 Thread Nick Bailey
Live Disk Space indicates all sstables that are currently valid. Total Disk Space will include sstables that have been compacted but not yet deleted (because a full GC hasn't run yet). Also the 1.3 release of OpsCenter includes an inline help section. You can find more specific information about

Re: StorageProxy Mbean not exposed in 0.7.8 anymore

2011-09-13 Thread Nick Bailey
The StorageProxyMBean should still be exposed. It won't exist until some reads or writes are performed on the cluster though. You may need to actually do some reads/writes to see it show up. On Tue, Sep 13, 2011 at 11:53 AM, Anand Somani meatfor...@gmail.com wrote: Hi, Upgraded from 7.4 to

Re: Solandra/Cassandra ring issue

2011-08-10 Thread Nick Bailey
Did you perhaps start up the second cluster with data from the test cluster? If you accidentally copied the system tables over, cassandra would recognize the saved tokens/ips from the test cluster and attempt to gossip with them. On Wed, Aug 10, 2011 at 5:19 PM, Ashley Martens amart...@ngmoco.com

Re: listen_address and rpc_address

2011-06-27 Thread Nick Bailey
I believe you are describing the issure here: https://issues.apache.org/jira/browse/CASSANDRA-1777 Until that issue is fixed though, the solution is to use the same interface for both. On Mon, Jun 27, 2011 at 12:09 PM, Sebastien Coutu sco...@openplaces.org wrote: Hi Everyone, Quick question

Re: Strange Connection error of nodetool

2011-06-22 Thread Nick Bailey
This is almost certainly caused by the weird connection process JMX uses. JMX actually uses a 2 connection process, the second connection is determined by the 'JVM_OPTS=$JVM_OPTS -Djava.rmi.server.hostname=public name' setting in your cassandra-env.sh configuration file. By default that setting

Re: rpm from 0.7.x - 0.8?

2011-06-22 Thread Nick Bailey
That looks like a packaging bug. The package manually creates the commitlog/data/saved_caches directories under the /var/lib/cassandra/ directory. It really doesn't need to though, since as long as it sets the permissions correctly on /var/lib/cassandra/ those directories will get created

Re: How to invoke getNaturalEndpoints with jconsole?

2011-05-11 Thread Nick Bailey
As far as I know you can not call getNaturalEndpoints from jconsole because it takes a byte array as a parameter and jconsole doesn't provide a way for inputting a byte array. You might be able to use the thrift call 'describe_ring' to do what you want though. You will have to manually hash your

Re: How to invoke getNaturalEndpoints with jconsole?

2011-05-11 Thread Nick Bailey
Yes. On Wed, May 11, 2011 at 8:25 AM, Maki Watanabe watanabe.m...@gmail.com wrote: Thanks, So my options are: 1. Write a thrift client code to call describe_ring with hashed key or 2. Write a JMX client code to call getNaturalEndpoints right? 2011/5/11 Nick Bailey n...@datastax.com

Re: Making a custom Cassandra RPM

2011-05-04 Thread Nick Bailey
Your apache ant install is too old. The ant that comes with rhel/centos 5.X isn't new enough to build cassandra. You will need to install ant manually. On Wed, May 4, 2011 at 2:01 PM, Konstantin Naryshkin konstant...@a-bb.net wrote: I want to create a custom RPM of Cassandra (so I can deploy it

Re: Seed Nodes

2011-03-02 Thread Nick Bailey
You do not need to restart when changing the seedlist of nodes that are up. The seedlist is really only used when a node first starts. So if you modify the list of seeds the changes will take effect whenever that node restarts, exactly when they need to. In 0.7 you can basically get away with

Re: Problem in using PHPcassa: Uncaught exception 'Exception' with message 'Could not connect to a cassandra server'

2010-12-20 Thread Nick Bailey
); $column_family = new ColumnFamily($conn, 'Standard1'); ? However I am able to connect to cassandra instance through cassandra-cli at command prompt but not through this php script. On Mon, Dec 20, 2010 at 11:10 AM, Nick Bailey n...@riptano.com wrote: It would probably help if you posted

Re: Problem in using PHPcassa: Uncaught exception 'Exception' with message 'Could not connect to a cassandra server'

2010-12-20 Thread Nick Bailey
\www\PhpProject\index.php(10): ColumnFamily-__construct(Object(Connection), 'Standard1') #4 {main} thrown in Z:\wamp\bin\php\phpcassa\connection.php on line 153 Thanks so much Nick .. On Mon, Dec 20, 2010 at 10:47 PM, Nick Bailey n...@riptano.com wrote: Just to verify the keyspace exists can

Re: Problem in using PHPcassa: Uncaught exception 'Exception' with message 'Could not connect to a cassandra server'

2010-12-19 Thread Nick Bailey
It would probably help if you posted the code you are trying to use from your php script. I don't know much about the php client but I now someone on this list does. On Sun, Dec 19, 2010 at 10:55 PM, Rajkumar Gupta rajkumar@gmail.comwrote: I am able to connect to cassandra through

Re: Installing Cassandra on windows

2010-12-16 Thread Nick Bailey
You are trying to connect through cassandra-cli? Does the cassandra log indicate it started correctly? Can you hit port 9160 (telnet localhost 9160)? On Thu, Dec 16, 2010 at 2:34 PM, Rajkumar Gupta rajkumar@gmail.comwrote: Hi there, I am trying to install Cassandra on windows.. I have

Re: Errors when decommissioning - 0.7 RC1

2010-12-15 Thread Nick Bailey
This is rc2 I am assuming? One thing about remove, the removetoken force command is meant to be run on the node that originally started a remove and doesn't take a token parameter. Not relevant to you problem though. Is this a test cluster and have you tried to reproduce the error? I would be

Re: Errors when decommissioning - 0.7 RC1

2010-12-15 Thread Nick Bailey
Just realized the ring output is included in the logs for both of those nodes. Disregard my earlier request :). On Wed, Dec 15, 2010 at 8:27 AM, Nick Bailey n...@riptano.com wrote: This is rc2 I am assuming? One thing about remove, the removetoken force command is meant to be run

Re: Errors when decommissioning - 0.7 RC1

2010-12-15 Thread Nick Bailey
, 2010 at 8:34 AM, Nick Bailey n...@riptano.com wrote: Just realized the ring output is included in the logs for both of those nodes. Disregard my earlier request :). On Wed, Dec 15, 2010 at 8:27 AM, Nick Bailey n...@riptano.com wrote: This is rc2 I am assuming? One thing about remove

Re: get_range_slices does not work properly

2010-12-15 Thread Nick Bailey
Looks like the patch that introduced that bug was added in 0.6.6 and wasn't fixed until 0.6.8 so yes I'd say that is your problem with get_range_slices. Is there a reason you can't update? For nodetool ring, if every node in your cluster is not showing one of the nodes in the ring, then that node

Re: Quorum: killing 1 out of 3 server kills the cluster (?)

2010-12-09 Thread Nick Bailey
On Thu, Dec 9, 2010 at 10:43 AM, Timo Nentwig timo.nent...@toptarif.dewrote: On Dec 9, 2010, at 17:39, David Boxenhorn wrote: In other words, if you want to use QUORUM, you need to set RF=3. (I know because I had exactly the same problem.) I naively assume that if I kill either node

Re: Cassandra and disk space

2010-12-09 Thread Nick Bailey
Additionally, cleanup will fail to run when the disk is more than 50% full. Another reason to stay below 50%. On Thu, Dec 9, 2010 at 6:03 PM, Tyler Hobbs ty...@riptano.com wrote: Yes, that's correct, but I wouldn't push it too far. You'll become much more sensitive to disk usage changes; in

Re: N to N relationships

2010-12-09 Thread Nick Bailey
I would also recommend two column families. Storing the key as NxN would require you to hit multiple machines to query for an entire row or column with RandomPartitioner. Even with OPP you would need to pick row or columns to order by and the other would require hitting multiple machines. Two

Re: How to Tell if Decommission has Completed

2010-12-08 Thread Nick Bailey
I believe the decommission call is blocking in both .6 and .7, so once it returns it should have completed. On Wed, Dec 8, 2010 at 3:10 AM, Jake Maizel j...@soundcloud.com wrote: Hello, Is there a definitive way to tell if a Decommission operation has completed, such as a log message similar

Re: About a drastic change in performance

2010-12-08 Thread Nick Bailey
On Wed, Dec 8, 2010 at 1:19 AM, Arijit Mukherjee ariji...@gmail.com wrote: So how do you iterate over all records You can iterate over your records with RandomPartitioner, they will just be in the order of their hash, not the order of the keys. or try to find a list of all records matching

Re: If one seed node crash, how can I add one seed node?

2010-12-07 Thread Nick Bailey
Nick Bailey n...@riptano.com The node can be set as a seed node at any time. It does not need to be a seed node when it joins the cluster. You should remove it as a seed node, set autobootstrap to true and let it join the cluster. Once it has joined the cluster you should add it as a seed node

Re: If one seed node crash, how can I add one seed node?

2010-12-06 Thread Nick Bailey
The node can be set as a seed node at any time. It does not need to be a seed node when it joins the cluster. You should remove it as a seed node, set autobootstrap to true and let it join the cluster. Once it has joined the cluster you should add it as a seed node in the configuration for all of

Re: 0.7RC1 cassandra-env.sh or cassandra.in.sh?

2010-12-02 Thread Nick Bailey
They should be set in cassandra-env.sh. Did you build the rpm yourself using the spec file in the source? If so its probably a bug. If not where did you get the rpm file from? On Thu, Dec 2, 2010 at 4:07 PM, Thor Carpenter tcarpen...@mediosystems.comwrote: Hi All, After installing 0.7RC1 RPM

Re: When to call the major compaction ?

2010-12-01 Thread Nick Bailey
The part about gc refers to old sstable files on disk. After a compaction, the old files on disk will be deleted when garbage collection happens. On Wed, Dec 1, 2010 at 7:31 AM, Ying Tang ivytang0...@gmail.com wrote: I'm confused , plz ingore the mail above. Here is my confusion ,

Re: using SimpleAuthenticator is not working

2010-11-18 Thread Nick Bailey
I believe the map of credentials should be creds.put(username, your_username); creds.put(password, your_password); So you have two entries in the map, one for user and one for password. No idea why that call would be hanging though. On Thu, Nov 18, 2010 at 1:46 PM, Alaa Zubaidi