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, Michael Shuler wrote: > > I'm

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 sen

Re: Status of OPSC-4080 ?

2015-08-05 Thread Nick Bailey
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...@dat

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 answer:http://stackoverflow.com/

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" wrote: > >> There isn't an OpsCenter specific mailing list no. >> >> To answer your question, the reason OpsCenter provisioning doesn't >> support 2.0.10

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: 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 wrote:

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 wrote: > I have observed

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-02 Thread Nick Bailey
See https://issues.apache.org/jira/browse/CASSANDRA-7317 On Mon, Jun 2, 2014 at 8:57 PM, Matthew Allen 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 information), they are same

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 http://w

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 (kcru

Re: Opscenter Entreprise work without licence ?

2014-01-24 Thread Nick Bailey
You do not need to have a license to use OpsCenter, although enterprise features only work when running against a DataStax Enterprise cluster. If the OpsCenter UI is not loading then there is something else wrong here. A couple of ideas: * Verify the opscenter process is actually running (and not

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 br

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 firs

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 wrote: > Hi guys, > > I am using YCSB and using thrift

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, N

Re: OpsCenter CQL support

2013-11-21 Thread Nick Bailey
> using DevCenter? Just like we used to see traffic getting generated on the > tables created via CLI interface on the OpsCenter? like read request, write > requests, total compactions etc etc > > > On Thu, Nov 21, 2013 at 8:40 AM, Nick Bailey wrote: > >> OpsCenter only has

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 wrote: > Hi guys, > > we have secured C* jmx w

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 indica

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 wrote: > Hi all! > > We have experienced a strange iss

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 wrote: > I think on of the versions of ops centre has the fea

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

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:// :@:/ -Nick On Wed, Jul 3,

Re: opscentrer is spying

2013-06-20 Thread Nick Bailey
d then provide > a link to see the actual values that we are sending. Just a thought. > > Thanks, > Dave > > > On Thu, Jun 20, 2013 at 4:31 PM, Nick Bailey wrote: > >> As promised, updated docs detailing the data collected by OpsCenter are >> now live. >> >> &

Re: opscentrer is spying

2013-06-20 Thread Nick Bailey
tax. > > Also thanks to Radim for the warning. > > Alain, Opscenter-free user. > > > 2013/6/20 Nick Bailey > >> Thanks everyone. We always appreciate constructive criticism. >> >> Regarding what OpsCenter collects, we completely agree it should be >>

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-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): http://www.datastax.com/docs/opscenter/config

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: Running Cassandra 1.1, how can I see the efficiency of the key cache?

2012-12-22 Thread Nick Bailey
The key cache and row cache graphs in OpsCenter broke when the caches moved from per column family to global. The next release of OpsCenter should fix that. -Nick On Sat, Dec 22, 2012 at 10:42 AM, Andrew Bialecki wrote: > Thanks, I'll take a look at that too. > > I also found that "nodetool in

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 inst

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 wrote: > not only a node make connection to other nodes. i

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 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, > > Robin Ve

Re: JMX(RMI) dynamic port allocation problem still exists?

2012-08-27 Thread Nick Bailey
The problem still exists. There was a discussion about resolving inside cassandra here: https://issues.apache.org/jira/browse/CASSANDRA-2967 But the ultimate resolution was that since workarounds like the one you mentioned exist it would be left as is for now. On Mon, Aug 27, 2012 at 6:07 PM, Ya

Re: Opscenter 2.1 vs 1.3

2012-08-20 Thread Nick Bailey
ediately and > irrevocably delete this message and any copies. > > > > 2012/8/17 Nick Bailey >> >> Robin, >> >> Are you talking about total writes to the cluster, writes to a >> specific column family, or something else? >> >> There

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

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

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 k

Re: Unbalanced ring in Cassandra 0.8.4

2012-06-19 Thread Nick Bailey
etool move. But that was when I was setting up the cluster >>> which means I didn't have any data at that time. >>> >>> -Raj >>> >>> >>> On Fri, Jun 15, 2012 at 1:29 PM, Nick Bailey wrote: >>>> >>>> Did you start all

Re: Unbalanced ring in Cassandra 0.8.4

2012-06-15 Thread Nick Bailey
> > > On Fri, Jun 15, 2012 at 11:06 AM, Nick Bailey 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.o

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 wrote: > Hi experts, >     I have a 6 node cluster across

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 install

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 unre

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 '=:'. So: 127.0.0.1=dc-test:my-notebook On Mon, Jun 11, 2012 at 1:49 PM,

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 metri

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 usi

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 wrote: > I am having trouble in running the OpsCenter. It

Re: another DataStax OpsCenter question

2012-04-02 Thread Nick Bailey
n if that cluster is split in >> > multiple >> > Cassandra DCs across separate regions? >> > >> > Is there a way to have one OpsCenter per Cassandra DC (monitor Cassandra >> > DCs >> > individually)? That would get rid of many configuration issues!

Re: another DataStax OpsCenter question

2012-03-30 Thread Nick Bailey
y)? That would get rid of many configuration issues! > > Cheers, > Alex > > > On Thu, Mar 29, 2012 at 9:35 PM, Nick Bailey wrote: >> >> This setup may be possible although there are a few potential issues. >> Firstly, see: >> http://www.datastax.com/docs/opscent

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: 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: 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 m

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 does

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 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: https://issues.apache.org/jira/browse/CASSANDRA

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 wrote: > I am trying to integrate opscenter in our environment and

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
nse. > > 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---

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

2011-12-15 Thread Nick Bailey
The OpsCenter agents report metric data to the main OpsCenter process which processes it and writes data into the cluster. So yes, the main OpsCenter process needs to be running in order for metrics to be stored in the cluster. -Nick On Thu, Dec 15, 2011 at 9:43 AM, wrote: > Hi, > > > > I have

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
node (i.e. read a record 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 wrote: >> >> There are quite a few attributes in the >&g

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 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 wrote: >> >> The StorageServiceMBean is only

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 7:5

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 p

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 wrote: > Hi, > > Upgraded from 7.4 to 7.8, noticed that St

Re: load balance issue

2011-09-05 Thread Nick Bailey
You can place each of the 4 new nodes exactly in the middle of 2 of the current nodes. This way each node will still be responsible for the same amount of data but your old nodes did not move. On Mon, Sep 5, 2011 at 2:56 PM, amulya rattan wrote: > Ah, missed that. Thanks for the pointer. > While

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 wrote: > I just had

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 wrote: > Hi Everyone, > Quick question regarding the listen_

Re: UnsupportedOperationException: Index manager cannot support deleting and inserting into a row in the same mutation

2011-06-24 Thread Nick Bailey
Correct, this happens when the timestamp of the delete occurs after the timestamp of the column update. On Fri, Jun 24, 2011 at 5:40 AM, David Boxenhorn wrote: > "it can cause index corruption IF the row delete timestamp is higher > than the column update's." > > By "higher" you mean later, i.e.

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 automatic

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="' setting in your cassandra-env.sh configuration file. By default that setting is commente

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 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 : &

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 ke

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 wrote: > I want to create a custom RPM of Cassandra (so I can deploy it > pre-configured).

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 igno

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

2010-12-20 Thread Nick Bailey
trace: #0 Z:\wamp\bin\php\phpcassa\connection.php(53): > ServerSet->get() #1 Z:\wamp\bin\php\phpcassa\connection.php(64): > Connection->connect() #2 > Z:\wamp\bin\php\phpcassa\columnfamily.php(171): Connection->connect() > #3 Z:\wamp\www\PhpProject\index.php(10): > ColumnFa

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

2010-12-20 Thread Nick Bailey
efault in the cassandra.yaml file and I > imported the schema before running the php script > so I hope that is not the problem.. > > I am now too much frustrated with this problem..:( and this is just > the beginning of my Cassandra experiments > > > > > On Mon, Dec 20, 2010 a

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

2010-12-20 Thread Nick Bailey
'] = '9160'; >$conn = new Connection('Keyspace1', $servers); > > $column_family = new ColumnFamily($conn, 'Standard1'); > ?> > > However I am able to connect to cassandra instance through > cassandra-cli at command prompt but not through th

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 wrote: > I am able to connect to cassandra through cassandra-cli command at > comm

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 wrote: > > Hi there, > > I am trying to install Cassandra on windows.. I have downloaded the files

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: Errors when decommissioning - 0.7 RC1

2010-12-15 Thread Nick Bailey
, 2010 at 8:34 AM, Nick Bailey 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 wrote: > >> This is rc2 I am assuming? >> >> One thing

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 wrote: > This is rc2 I am assuming? > > One thing about remove, the removetoken force command is meant to be run on > t

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 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 colu

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 wrote: > Yes, that's correct, but I wouldn't push it too far. You'll become much > more sensitive to disk usage changes; in particular, rebal

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 wrote: > > 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 that holds N1 (

Re: About a drastic change in performance

2010-12-08 Thread Nick Bailey
On Wed, Dec 8, 2010 at 1:19 AM, Arijit Mukherjee 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 a certain criter

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 wrote: > Hello, > > Is there a definitive way to tell if a Decommission operation has > completed, such as a log message similar to what happens

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

2010-12-07 Thread Nick Bailey
wrote: > You will need to restart the nodes for them to pickup changes in > cassandra.yaml > > > Aaron > > On 7 Dec 2010, at 16:32, lei liu wrote: > > Thanks Nick. > > After I add the new node as seed node in the configuration for all of my > nodes, do I need to re

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 y

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 wrote: > Hi All, > > After installing 0.7RC1 RPM on CentOS and starting th

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 wrote: > I'm confused , plz ingore the mail above. > Here is my confusion , >posterior to 0.6.6/0.7 , m

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 wrote: