Digg's data model

2010-03-19 Thread Gary
rows, when a user digs a URL, I will have to update two rows so I need a transaction to keep data consistent. Any thoughts? Thanks, Gary

LazyBoy question

2010-04-01 Thread Gary
I am trying out the lazyboy library to access cassandra, I was able to get the data in and out using Record save/load functions. Is there a way to get a slice, or all the records under a CF so I can iterate? It is probably a naive question, as I am just getting into this field Thanks, Gary

Upgrade and Consistency Question

2010-04-17 Thread Gary
I had a single-node instance (0.5) that has some data (1 SCF has 1 key and about 500k columns). I upgraded the node to 0.6 release yesterday and added another 0.6 node to try out clustering. The two nodes seem to work fine (discovered each other), but reading the data on either node only returns a

NGCC 2017 Announcment

2017-08-01 Thread Gary Dusbabek
out to myself or Eric Evans ( john.eric.ev...@gmail.com). A special thanks to Instaclustr, who are sponsoring this event. Thanks, Gary. Please Note: Apache Cassandra is a trademark of the Apache Software Organization, which has neither endorsed or organized this event. https://docs.google.com

Scala driver

2014-08-30 Thread Gary Zhao
Hi Could you recommend a Scala driver and share your experiences of using it. Im thinking if i use java driver in Scala directly. Thanks

Java sample code for non-blocking async query

2014-09-01 Thread Gary Zhao
Hello I'm looking for non-blocking async query sample code. The one I found in the following link is async query but blocking. Could anyone share such code? http://www.datastax.com/documentation/developer/java-driver/1.0/java-driver/asynchronous_t.html Thanks Gary

Re: Scala driver

2014-09-01 Thread Gary Zhao
Thanks Jan. I decided to use Java driver directly. It's not hard to use. On Sun, Aug 31, 2014 at 1:08 AM, Jan Algermissen wrote: > Hi Gary, > > On 31 Aug 2014, at 07:19, Gary Zhao wrote: > > Hi > > Could you recommend a Scala driver and share your experiences of us

Dependency Hell: STORM 0.9.2 and Cassandra 2.0

2014-10-24 Thread Gary Zhao
tackle. Cassandra 2.0Java driver requires google guava 1.6. Unfortuanately, storm 0.9.2 provides a lower version. Because of that, a topology will not be able to contact Cassandra databases. Thanks Gary

Cassandra at Apache: Big Data, Sept 28-30 in Budapest

2015-06-10 Thread Gary Dusbabek
://events.linuxfoundation.org/events/apache-big-data-europe/program/cfp You have until 10 July to put your proposals together. You will be notified by 24 July whether or not your proposal is accepted. Kind Regards, Gary Dusbabek

java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
utdownHook] 2014-04-28 13:25:35,105 Gossiper.java (line 1251) Announcing shutdown INFO [StorageServiceShutdownHook] 2014-04-28 13:26:12,524 MessagingService.java (line 667) Waiting for messaging service to quiesce Thanks Gary

Re: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
rack1 UN 5.32 GB256 33.1% 874a269f-96bc-4db6-9d15-7cac6771a2ea rack1 DN 339.94 MB 256 31.5% fba5b071-aee1-451f-ae42-49c3bbe70bbe rack1 On Mon, Apr 28, 2014 at 10:25 AM, Gary Zhao wrote: > Hello > > I have a three nodes cluster. I noticed one node was always down. >

Re: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
. > If not, what versions of Cassandra and Java are you using? > > > On Mon, Apr 28, 2014 at 6:30 PM, Gary Zhao wrote: > >> BTW, the CPU usage on this node is pretty high, but data size is pretty >> small. >> >> PID USERNAME THR PRI NICE SIZE RES SHR

How to monitor progress of nodetool repair?

2011-08-03 Thread Gary Ogasawara
leted tasks are going up. system.log at INFO level has the initial "Sending AEService tree" message, but nothing else. -gary

cassandra on laptop

2011-10-10 Thread Gary Jefferson
otry that some of us accumulate over the years. Anyway, if someone can give me a pointer on how to set up to run on a laptop in a development setting, big thanks. Thanks! Gary

Why SSTable is sorted by tokens instead of row keys?

2011-11-04 Thread Gary Shi
ad of keys: if rows in SSTable are sorted by keys, it should be quite easy to return rows by key range -- token should be used to determine which node contains the data. For key range requests, Cassandra could ask every node for that range of rows, merge them and return to the caller. -- regards, Gary Shi

Re: Why SSTable is sorted by tokens instead of row keys?

2011-11-04 Thread Gary Shi
but since only one node can serve a single row, won't this lead to hot spot problems? 在 2011-11-4 晚上10:28,"Sylvain Lebresne" 写道: > On Fri, Nov 4, 2011 at 1:49 PM, Gary Shi wrote: > > I want to save time series event logs into Cassandra, and I need to load > > them b

CounterColumn java.lang.AssertionError: Wrong class type.

2012-02-26 Thread Gary Ogasawara
Using v1.0.7, we see many of the following errors. Any thoughts on why this is occurring? Thanks in advance. -gary ERROR [ReadRepairStage:9] 2012-02-24 18:31:28,623 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[ReadRepairStage:9,5,main] java.lang.AssertionError: Wrong

Unsupported major.minor version 51.0

2013-09-17 Thread Gary Zhao
Hello I just saw this error. Anyone knows how to fix it? [root@gary-vm1 apache-cassandra-2.0.0]# bin/cassandra -f xss = -ea -javaagent:bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms4014M -Xmx4014M -Xmn400M -XX:+HeapDumpOnOutOfMemoryError -Xss180k Exception

Re: Unsupported major.minor version 51.0

2013-09-17 Thread Gary Zhao
Thanks Jason. Does Node.js work with 2.0? I'm wondering which version should I run. Thanks. On Tue, Sep 17, 2013 at 8:24 PM, Jason Wee wrote: > cassandra 2.0, then use oracle or open jdk version 7. > > Jason > > > On Wed, Sep 18, 2013 at 11:21 AM, Gary Zhao wrote: >

Re: cassandra version update and my cluster

2010-12-02 Thread Gary Dusbabek
0.6->0.7 will require a full cluster restart. 0.7->0.8 will require a rolling restart, so long as CASSANDRA-1015 is completed. keyspace/cf definitions will be readable across major versions, or there will be a way provided to migrate them if that is not possible. Gary. On Wed, Dec 1, 2

Re: Running multiple instances on a single server --micrandra ??

2010-12-14 Thread Gary Dusbabek
ay? > I think it would be a great way of utilizing CPU and memory, assuming you can come up with the IO bandwidth. Gary.

Re: Having trouble getting cassandra to stay up

2010-12-27 Thread Gary Dusbabek
both running the same version. Your earlier error when adding a keyspace through pycassa was confusing. You stated that you tried to create a keyspace, but the error you pasted appeared to error in a drop_keyspace call. Something doesn't add up. Gary. On Fri, Dec 24, 2010 at 11:48, Alex

Re: cassandra.yaml customization per node

2010-12-30 Thread Gary Dusbabek
needs. As for the notion of yaml includes, a quick google made me think it's not possible. Gary. On Thu, Dec 30, 2010 at 14:34, B. Todd Burruss wrote: > how are folks customizing the cassandra.yaml for each node in the cluster. >  specifically the token and IP address. > >

Re: Newbie Replication/Cluster Question

2011-01-13 Thread Gary Dusbabek
It is impossible to properly bootstrap a new node into a system where there are not enough nodes to satisfy the replication factor. The cluster as it stands doesn't contain all the data you are asking it to replicate on the new node. Gary. On Thu, Jan 13, 2011 at 13:13, Mark Moseley

Moving data

2011-02-04 Thread Morey, Gary
appreciated. Best, Gary

Re: ApplicationState Schema has drifted from DatabaseDescriptor

2011-02-09 Thread Gary Dusbabek
is is what you're seeing. Gary. On Wed, Feb 9, 2011 at 00:08, Aaron Morton wrote: > I noticed this after I upgraded one node in a 0.7 cluster of 5 to the latest > stable 0.7 build "2011-02-08_20-41-25" (upgraded  node was jb-cass1 below). > This is a long email, you can

Re: Keyspace additions are not replicated to one node in the cluster

2011-02-16 Thread Gary Dusbabek
The first thing you should try is to restart the node that is not syncing. That will reset the version it gossips, which was not always getting updated (fixed in CASSANDRA-2083). Gary. On Tue, Feb 15, 2011 at 18:25, Shu Zhang wrote: > Hi, a node in my cassandra cluster will not acc

Re: rename index

2011-02-17 Thread Gary Dusbabek
node. Gary. On Wed, Feb 16, 2011 at 11:15, Roland Gude wrote: > Hi, > > unfortiunately i made a copy paste error and created two indexes called > “myindex” on different columnfamilies. > > What can I do to fix this? > > > > Below the output from describe k

Re: Running multiple compactions concurrently

2011-02-25 Thread Gary Dusbabek
If your cluster has the overall IO capacity to perform a simultaneous compaction on every node and still adequately service reads and writes, then yes. If you're concerned about availability, your best bet will be to stagger the compactions. Gary. On Fri, Feb 25, 2011 at 04:24, D

Re: Strange streaming behaviour

2010-05-03 Thread Gary Dusbabek
reproduce? The strange part is that the source node doesn't think it's streaming at all. Gary. On Mon, May 3, 2010 at 02:30, Dr. Martin Grabmüller wrote: > Hello list, > > I encountered a problem with streaming in my test cluster but > found nothing like this in JIRA o

Re: Add a new keyspace in cassandra cluster

2010-05-05 Thread Gary Dusbabek
Yes. You need to edit the configuration of every machine in the cluster. Gary. On Wed, May 5, 2010 at 06:27, Yu-Chun Chang wrote: > Dear all, > I'm a starter for playing Cassandra. I've set up three machines (called > PC_A, PC_B, PC_C) and run them as a Cassandra cluster

Re: why is streaming done in 32 MB chunks ?

2010-05-06 Thread Gary Dusbabek
64 MB gave Windows heartburn. We never considered 16 MB chunks. Gary. On Thu, May 6, 2010 at 02:30, vineet daniel wrote: > Hi > > Just out of curiosity want to know why streaming is done with 32MB chunks > and not with 16 or 64 MB chunks. Any specific reasons behind 32 MB or its

Re: Rolling upgrade

2010-05-11 Thread Gary Dusbabek
to change from version to version. You should flush it prior to upgrading a node. 0.6.1 added 'drain' to the nodetool command to make this process easier. Gary. > Thanks, > Tatsuya >

Re: updating column names

2010-05-11 Thread Gary Dusbabek
On Tue, May 11, 2010 at 04:45, vd wrote: > Hi > > I have a column named colom. Can we update column name "colom" to > "column" during runtime or via API ? > This will require two operations: remove and insert. Gary.

Re: What is the optimal size of batch mutate batches?

2010-05-11 Thread Gary Dusbabek
columns themselves were very small. So you should probably approach this problem from a "how many MB do I want to send in a single message" approach instead. When the rows get bushy, you should send less of them. Gary.

Re: How to setup multinode cluster over different servers through firewall

2010-05-11 Thread Gary Dusbabek
ts is running a local firewall. Gary. On Tue, May 11, 2010 at 02:54, Xu Hui Hui wrote: > He there! > > 1. I'm new to Cassandra. > 2. I created multinode cluster which worked well between two computers > in LAN (192.168.1.31, 192.168.1.33) with reference to the official &

Re: list of columns

2010-05-13 Thread Gary Dusbabek
We have get_count at the thrift level. You supply a predicate and it returns the number of columns that match. There is also multi_get_count, which is the same operation against multiple keys. Gary. On Thu, May 13, 2010 at 04:18, Bill de hOra wrote: > Admin question - is there a way to l

Re: how does cassandra compare with mongodb?

2010-05-13 Thread Gary Dusbabek
ilies will no longer be defined statically at runtime. [column families | keyspaces] may be [added | dropped] on a live cluster. Think of it as [CREATE|DROP|ALTER] TABLE for Cassandra. Gary. On Thu, May 13, 2010 at 14:48, Steve Lihn wrote: > What is changing? A more flexible schema or no

Re: batch mutate + deletion + slice range predicate unsupported

2010-05-13 Thread Gary Dusbabek
Yes--0.7. I aim to make it part of https://issues.apache.org/jira/browse/CASSANDRA-494 (remove_slice). Gary. On Thu, May 13, 2010 at 16:08, B. Todd Burruss wrote: > i just figured out that can't do a batch mutate + deletion that uses a slice > range predicate.  is adding this fu

Re: Avro Example Code

2010-05-14 Thread Gary Dusbabek
Be warned: avro support is experimental and incomplete. The avro system tests are probably the best place to start looking. http://svn.apache.org/repos/asf/cassandra/trunk/test/system Gary. On Fri, May 14, 2010 at 15:52, David Wellman wrote: > Does anyone have a good link or example code t

Re: decommission and org.apache.thrift.TApplicationException: get_slice failed: unknown result

2010-05-18 Thread Gary Dusbabek
If I had to guess, I'd say that something at the transport layer had trouble. Possibly some kind of thrift hiccup that we haven't seen before. Your description makes it sound as if the decommission is proceeding normally though. Gary. On Tue, May 18, 2010 at 04:42, Ran Tavory wrote

Re: New Changes in Cass 0.7 Thrift API Interface

2010-05-21 Thread Gary Dusbabek
On Thu, May 20, 2010 at 22:16, Arya Goudarzi wrote: > > P.S. By the way, if someone grants me access, I'd like to contribute to the > documentaions on Apache Cassandra. > I believe anybody can create a wiki account and make changes. Have at it! Gary.

Re: Questions regarding batch mutates and transactions

2010-05-27 Thread Gary Dusbabek
executed, or would I still have the mutation from op 1 written to cassandra > while the op 2 write fails? > Thanks, batch_mutate makes no atomicity guarantees. It s intended to help avoiding many round-trips. It can fail half-way through leaving you with a partially completed batch. Gary.

Re: Error during startup

2010-06-02 Thread Gary Dusbabek
system table. I'm trying to figure out a way to detect this and abort before data is overwritten. Gary. On Sun, May 30, 2010 at 06:49, David Boxenhorn wrote: > I deleted the system/LocationInfo files, and now everything works. > > Yay! (...what happened?) > > On Sun, May

Re: Read operation with CL.ALL, not yet supported?

2010-06-02 Thread Gary Dusbabek
Yuki, Can you file a jira ticket for this (https://issues.apache.org/jira/browse/CASSANDRA)? The wiki indicates that this should be allowed: http://wiki.apache.org/cassandra/API Regards, Gary. On Tue, Jun 1, 2010 at 21:50, Yuki Morishita wrote: > Hi, > > I'm testing several r

Re: OutOfMemoryError

2010-06-03 Thread Gary Dusbabek
Are you running "ant test"? It defaults to setting memory to 1G. If you're running them outside of ant, you'll need to set max memory manually. Gary. On Thu, Jun 3, 2010 at 10:35, Lev Stesin wrote: > Hi, > > I am getting OOM during load tests: > > java.lan

Re: OutOfMemoryError

2010-06-03 Thread Gary Dusbabek
It's set in the build file: But I'm not sure if you're using the build file or not. It kind of sounds like you are not. Gary. On Thu, Jun 3, 2010 at 11:24, Lev Stesin wrote: > Gary, > > Is there a directive to set it? Or should I modify the cassandra > scr

Re: Cassandra Cluster Setup

2010-06-03 Thread Gary Dusbabek
being impatient. If not, I recommend that you start over, set the replication factor to 3, wait a good while for all the nodes to fully join the cluster, and then make sure the keys you write to are random. Gary. On Thu, Jun 3, 2010 at 13:07, Stephan Pfammatter wrote: > I’m having difficulties sett

Re: High CPU Usage since 0.6.2

2010-06-04 Thread Gary Dusbabek
Chris, Can you get me a stack dump of one of the busy nodes (kill -3)? Gary On Thu, Jun 3, 2010 at 22:50, Chris Goffinet wrote: > We're seeing this as well. We were testing with a 40+ node cluster on the > latest 0.6 branch from few days ago. > > -Chris > > On Jun 3, 20

Re: Cassandra Cluster Setup

2010-06-04 Thread Gary Dusbabek
Great. It looks as if the replication factor is still 1, not 3. This means that each key lives only on one node. By increasing it to 3, data will be replicated across all 3 nodes. Gary. On Fri, Jun 4, 2010 at 06:51, Stephan Pfammatter wrote: > Tx Nahor/Gary/Ben. I blew everything a

Re: Expected wait while bootstrapping?

2010-06-04 Thread Gary Dusbabek
Most of the streaming messages are DEBUG, so you'll have to amp up logging. Gary. On Fri, Jun 4, 2010 at 12:26, Aaron Lav wrote: > I'm trying to bring up a new node.  The log on the new node says: > > INFO 19:00:47,794 Joining: getting bootstrap token > INFO 19:00:49

Re: Cassandra Cluster Setup

2010-06-07 Thread Gary Dusbabek
It should take roughly 30 seconds (please clarify--not minutes) to join the cluster. Gary. On Mon, Jun 7, 2010 at 08:23, Stephan Pfammatter wrote: > I still have one open issue: My cluster has only 3 local nodes with 1 CF (5 > rows). > The initial start works fine. I can see the r

Re: Running Cassandra as a Windows Service

2010-06-10 Thread Gary Dusbabek
good fit in core since there don't seem to be many (any?) cassandra developers who run windows. Gary. On Thu, Jun 10, 2010 at 12:34, Kochheiser,Todd W - TO-DITT1 wrote: > For various reasons I am required to deploy systems on Windows.  As such, I > went looking for information on runn

Re: Running Cassandra as a Windows Service

2010-06-11 Thread Gary Dusbabek
ld be excellent and would help to automate the process of generating testable builds. Gary. On Thu, Jun 10, 2010 at 17:31, Kochheiser,Todd W - TO-DITT1 wrote: > I agree that bitrot might be happen if all of the core Cassandra developers > are using Linux. Your suggestion of putting

Re: cassandra out of heap space crash

2010-06-11 Thread Gary Dusbabek
uld give you decent throughput without so much risk of OOM. > > Does this seem like a Cassandra bug or is it well known that Cassandra always > needs more than 1GB of heap space? Not a bug at all. You were putting a lot of memory pressure on Cassandra by writing at CL.ZERO. Gary.

Re: batch_mutate atomic?

2010-06-14 Thread Gary Dusbabek
This question has been coming up quite regularly now. I've added an entry to the FAQ. Please feel free to expand an clarify. http://wiki.apache.org/cassandra/FAQ#batch_mutate_atomic Gary. On Mon, Jun 14, 2010 at 06:43, Ran Tavory wrote: > no, it's not atomic. it just shortens the

Re: CF that is like a non-clustered index, are key lookups that fast?

2010-06-15 Thread Gary Dusbabek
is no reason to worry? You should look at using either multi_get_slice or get_range_slices. You'll save on network trips and the amount of work required of the cluster. Gary.

Re: Some questions about using Cassandra

2010-06-16 Thread Gary Dusbabek
; data to an LDAP server? > Typically, this is the kind of thing that gets handled at the application level (your application). There is a feature request for it though. https://issues.apache.org/jira/browse/CASSANDRA-1016 Gary.

Re: java.lang.RuntimeException: java.io.IOException: Value too large for defined data type

2010-06-18 Thread Gary Dusbabek
*Hopefully* fixed. I was never able to duplicate the problem on my workstation, but I had a pretty good idea what was causing the problem. Julie, if you're in a position to apply and test the fix, it would help help us make sure we've got this one nailed down. Gary. On Thu, Jun 17,

Re: Finding new Cassandra data

2010-06-22 Thread Gary Dusbabek
o data. > But I can't think of a better way. > > Any thoughts? Another approach would be to have a CF with a single row whose column names refer to the new row ids. This would allow you efficient slicing. The downside is that you'd need to make sure the row doesn't get too wide. So depending on your throughput and application behavior, this may or may not work. Gary.

Re: nodetool loadbalance : Strerams Continue on Non Acceptance of New Token

2010-06-23 Thread Gary Dusbabek
010-06-22 17:36:53,528 Memtable.java (line 163) > Completed flushing /var/lib/cassandra/data/system/LocationInfo-d-9-Data.db >  INFO [MEMTABLE-POST-FLUSHER:1] 2010-06-22 17:36:53,529 > ColumnFamilyStore.java (line 374) Discarding 1000 > > > Nothing more after this line. > > Am I doing something wrong? If the output you get from `nodetool streams` isn't changing, then I'd say we have a bug. You're data sizes weren't that large--I'd expect 2 hrs would be more than enough time. I've created https://issues.apache.org/jira/browse/CASSANDRA-1221 to track this problem. Gary. > > > Best Regards, > -Arya > >

Re: KeyRange deletion

2010-06-24 Thread Gary Dusbabek
See CASSANDRA-293 and CASSANDRA-494. Key-range updates touch multiple rows and cannot be performed atomically, so the consistency promise you get would be the same as with batch_mutate. Another other problem is that the update needs to be sent to *any* node that is responsible for part of the ran

Re: Bootstrap Token collision

2010-07-15 Thread Gary Dusbabek
Did you add a new node to the cluster at the time you restarted it? If not, I would think that each node already had a token that would make such a collision impossible, unless we have a new bug to troubleshoot. Gary. On Wed, Jul 14, 2010 at 20:46, Mubarak Seyed wrote: > The cluster nodes w

Re: Increasing Replication Factor in 0.7

2010-07-16 Thread Gary Dusbabek
Arya, That is not currently possible in trunk. It would be a good feature though. Care to file a ticket? Gary. On Thu, Jul 15, 2010 at 22:13, Arya Goudarzi wrote: > I recall jbellis in his training showing us how to increase the replication > factor and repair data on a cluster in 0.

Re: Define keyspaces in cassandra 0.7

2010-07-19 Thread Gary Dusbabek
disservice if users were constantly over-writing existing schema unintentionally. Gary. On Mon, Jul 19, 2010 at 08:39, Boris Spasojevic wrote: > Hi all, > Can someone post an example of how to define keyspaces in Cassandra 0.7? > My initial Cassandra node does not load the keyspaces d

Re: Define keyspaces in cassandra 0.7

2010-07-19 Thread Gary Dusbabek
s to manipulate keyspaces. Gary. On Mon, Jul 19, 2010 at 09:46, Gary Dusbabek wrote: > Defining at runtime is, very intentionally, an absolute must.  It > would have been very simple and perhaps user-friendly to add a flag > that loads the schema specified in yaml when cassandra starts

Re: Bootstrap question

2010-07-21 Thread Gary Dusbabek
ble. Any chance you could apply the patch for 1221 and test? Gary. On Tue, Jul 20, 2010 at 16:45, Anthony Molinaro wrote: > I see this in the old nodes > > DEBUG [WRITE-/10.220.198.15] 2010-07-20 21:15:50,366 > OutboundTcpConnection.java (line 142) attempting to connect to /10.220.198.

Re: Bootstrap question

2010-07-22 Thread Gary Dusbabek
On Wed, Jul 21, 2010 at 14:14, Anthony Molinaro wrote: > Sure, looks like that's in 0.6.4, so I'll probably just rebuild my server > based on the 0.6 branch, unless you want me to test just the patch for > 1221?  Most likely won't get a chance to try until tomorrow, so let me > know. > Either way

Re: 0.6.4 tag

2010-07-29 Thread Gary Dusbabek
The vote is in process. http://permalink.gmane.org/gmane.comp.db.cassandra.devel/2010 Gary. On Thu, Jul 29, 2010 at 11:34, B. Todd Burruss wrote: > i see a 0.6.4 tag in SVN, but not on cassandra's download page.  is this > ready for use if building from SVN? > >

Re: Changing schema w/o losing data - Can it be done?

2010-08-04 Thread Gary Dusbabek
NullPointerException--it sounds like you're restarting? If so, you should look into `nodetool drain`. http://wiki.apache.org/cassandra/FAQ#modify_cf_config Gary On Wed, Aug 4, 2010 at 03:27, David Boxenhorn wrote: > When I change schema I need to delete the commit logs - otherwise

Re: set ReplicationFactor and Token at Column Family/SuperColumn level.

2010-08-05 Thread Gary Dusbabek
rs by putting your column families in separate keyspaces. Token per CF (or even token per KS) isn't on the roadmap though. You can mitigate this to some extent by choosing row keys that play nicely with your ring though. Gary > > Is it possible? > > Thanks, > > Zhong

Re: TokenRange contains endpoints without any port information?

2010-08-09 Thread Gary Dusbabek
knew the thrift port to make the query connection. The only other port you *might* need to be concerned with is the storage port, which is assumed to be constant across the cluster. But really, from a client perspective it does you no good to know this port, so why bother exposing it? Gary. > > TIA, > > Carsten > >

Re: Reload/Update schema 0.7

2010-08-12 Thread Gary Dusbabek
You should take a look at http://wiki.apache.org/cassandra/LiveSchemaUpdates loadSchemaFromYaml() is intended to initialize the schema on a seed node in a new cluster (or one that has been upgraded from 0.6). It is an operation that should only be performed one time *per cluster.* Gary On Wed

Re: Count rows

2010-08-13 Thread Gary Dusbabek
. He didn't want to submit a patch though, if there was zero chance of it ever being committed. Gary On Fri, Aug 13, 2010 at 12:52, Jonathan Ellis wrote: > because it would work amazingly poorly w/ billions of rows.  it's an > antipattern. > > On Fri, Aug 13, 2010 at 10:50

Re: Index package

2010-08-14 Thread Gary Dusbabek
Please see ColumnFamilyStore.scan(). On Sat, Aug 14, 2010 at 15:01, Carlos Sanchez wrote: > All, > > Could I know what package or classes are used in Cassandra for secondary > column indices? > > Thanks > > Carlos > > This email message and any attachments are for the sole use of the intended >

Re: MIGRATION-STAGE: IllegalArgumentException: value already present

2010-08-16 Thread Gary Dusbabek
Yes. definitely open a ticket. Gary On Mon, Aug 16, 2010 at 20:05, Arya Goudarzi wrote: > While inserting into a 3 node cluster, one of the nodes got this exception in > its log: > > ERROR [MIGRATION-STAGE:1] 2010-08-16 17:46:24,090 CassandraDaemon.java (line > 82) Uncaug

Re: Errors with Cassandra 0.7

2010-08-20 Thread Gary Dusbabek
> *10/08/19 12:58:26 INFO utils.Mx4jTool: Will not load MX4J, mx4j-tools.jar > is not in the classpath* > MX4J exposes JMX operations over a simple web interface. Cassandra attempts to load it if the jar is in the classpath. By default is is *not* present. Hence, the message. Nothing to worry about. Gary.

Re: Replication factor and other schema changes in >= 0.7

2010-08-20 Thread Gary Dusbabek
It is coming. In fact, I started working on this ticket yesterday. Most of the settings that you could change before will be modifiable. Unfortunately, you must still manually perform the repair operations, etc., afterward. https://issues.apache.org/jira/browse/CASSANDRA-1285 Gary. On Thu

Re: 0.7 beta 1 - "error in row mutation" and NPE

2010-08-23 Thread Gary Dusbabek
It looks like you're running into https://issues.apache.org/jira/browse/CASSANDRA-1403, which was fixed last week and will be included in beta2. If you are experiencing this on trunk, please do file another ticket, or comment on the existing one. Gary. On Mon, Aug 23, 2010 at 13:33, B.

Re: 0.7 beta 1 - "error in row mutation" and NPE

2010-08-23 Thread Gary Dusbabek
t the cluster is quiescent before sending schema updates to a random node. Gary. On Mon, Aug 23, 2010 at 14:03, Gary Dusbabek wrote: > It looks like you're running into > https://issues.apache.org/jira/browse/CASSANDRA-1403, which was fixed > last week and will be included in be

Re: StackOverflowError on startup!

2010-08-26 Thread Gary Dusbabek
ack trace is very similar to https://issues.apache.org/jira/browse/CASSANDRA-1382, which is fixed and will be included in the next beta. Gary. On Thu, Aug 26, 2010 at 13:15, Mark wrote: >  Using 0.7beta1 and I noticed one of my nodes was not responding.. wtf? Went > to restart and I got

Re: RowMutationVerbHandler.java (line 78) Error in row mutation

2010-08-30 Thread Gary Dusbabek
Is it possible this was a new node with a manual token and autobootstrap turned off? If not, could you give more details about the node? Gary. On Fri, Aug 27, 2010 at 17:58, B. Todd Burruss wrote: > i got the latest code this morning.  i'm testing with 0.7 > > > ERROR [ROW-M

Re: Calls block when using Thrift API

2010-08-30 Thread Gary Dusbabek
(); in 0.7 you will want to loop until the node receives its storage definitions via gossip. Calling SS.instance.initServer() directly bypasses some of the routine startup operations. I don't recommend it unless you really know what's going on (it might work now, but it's not guara

Re: Few questions regarding cassandra deployment on windows

2010-09-09 Thread Gary Dusbabek
up the updated > changes > Pointing two cassandra instances at the same data directory? This is a bad idea. I've never tried it, so I don't know exactly what will happen, but I imagine you would corrupt your system tables pretty quickly and your commit log wouldn't be too happy either. This is a completely unsupported way of using cassandra. Gary

Re: Few questions regarding cassandra deployment on windows

2010-09-10 Thread Gary Dusbabek
On Thu, Sep 9, 2010 at 22:23, kannan chandrasekaran wrote: > > Thanks for the replies My comments in Bold... > Kannan > > > From: Gary Dusbabek > To: user@cassandra.apache.org > Sent: Thu, September 9, 2010 5:43:31 AM > Subject: Re: Few questions regarding cass

Re: Embedded Cassandra in JBoss

2010-09-15 Thread Gary Dusbabek
ocess. With JBoss and Cassandra both using JMX, there might be a few things to trip over, but nothing insurmountable. If you want to run multiple embedded Cassandra instances on a single host (inside of a single parent java process or several), you are in for a fun ride. (Multiple Cassandras in a single process isn't possible yet.) Gary.

Re: Getting client only example to work

2010-09-16 Thread Gary Dusbabek
I discovered some problems with the fat client earlier this week when I tried using it. It needs some fixes to keep up with all the 0.7 changes. Gary. On Thu, Sep 16, 2010 at 05:48, Asif Jan wrote: > > Hi > I am using 0.7.0-beta1 , and trying to get the contrib/client_only example

Re: 0.7 live schema updates

2010-09-16 Thread Gary Dusbabek
beta-2 will include the ability to set these values and others. Look for the system_update_column_family() and system_update_keyspace() methods. Gary. On Thu, Sep 16, 2010 at 02:38, Marc Canaleta wrote: > Hi! > I like the new feature of making live schema updates. You can add, dr

Re: FatClient Gossip error and some other problems

2010-09-20 Thread Gary Dusbabek
93) >     at java.util.TimerThread.mainLoop(Timer.java:512) >     at java.util.TimerThread.run(Timer.java:462) >  INFO [GMFD:1] 2010-09-20 13:56:43,251 Gossiper.java (line 586) Node > /X.X.X.X is now part of the cluster > > Does anyone have any idea how can I cleanup the problematic node? You may just need to be patient. Have you tried monitoring the CompactionManager in jmx to see if it is doing things? > Does anyone have any idea how can I get rid of the Gossip error? This is CASSANDRA-1494. You can ignore it. Gary.

Re: Building a local cluster in Linux

2010-09-20 Thread Gary Dusbabek
you recommend using > instead, stress.py? Or come up with a way to randomize the host in your test client. Gary. > > Thanks in advance! > > > I created the following structure (with 3 nodes) on Linux: > > /opt/apache-cassandra-0.6.5/nodes > | > |-- node1 > |  

Re: inter node protocol for 0.7 nightly

2010-09-21 Thread Gary Dusbabek
1465 maybe? On Mon, Sep 20, 2010 at 16:00, Aaron Morton wrote: > Just took a look upgrading from from 31/08 nightly to the 20/09 and noticed > the news.txt says... > "The Cassandra inter-node protocol is incompatible with 0.6.x releases (and > with 0.7 beta1)" > Could someone point me to the tick

Re: avro + cassandra + ruby

2010-09-29 Thread Gary Dusbabek
We have a system test that tests this (in avro python). see test/system/test_avro_standard.py:TestStandardOperations.test_multiget_slice_simple. On Wed, Sep 29, 2010 at 01:06, Gabor Torok wrote: > Hi, > I'm attempting to use avro to talk to cassandra because the ruby thrift > client's read perf

Re: Hardware change of a node in the cluster

2010-10-04 Thread Gary Dusbabek
node. Gary. On Mon, Oct 4, 2010 at 04:58, Utku Can Topçu wrote: > Hey All, > > Recently I've tried to upgrade (hw upgrade) one of the nodes in my cassandra > cluster from ec2-small to ec2-large. > > However, there were problems and since the IP of the new instance was &

Re: replacing a dead node

2010-10-11 Thread Gary Dusbabek
t; everything? Yes. Just make sure auto-bootstrap is turned off, as you indicate below. Gary. > > I have read the wiki: > http://www.riptano.com/docs/0.6.5/operations/clustering . > But in order to keep it simple, I don't want to use autobootstrap, > noderepair, removetoken, etc > > -- > Best Regards, > Chen Xinli >

Re: Cassandra newbie question

2010-10-11 Thread Gary Dusbabek
ng column_names can do the lookups. As far as doing the set operations: no, Cassandra doesn't have the ability to do this server-side. Gary. > > Regards > Arijit >

Re: Null Pointer Exception / Secondary Indices

2010-10-13 Thread Gary Dusbabek
If you're not seeing the NullPointerException at this point, things are probably good. These messages are expected when logging at DEBUG. Gary. On Tue, Oct 12, 2010 at 02:35, J T wrote: > I rinsed & repeated after updating to the latest trunk version and checking > if the

Re: 0.7 beta2 - Fatal exception from RowMutationVerbHandler

2010-10-13 Thread Gary Dusbabek
Looks like a bug with hinted-handoff. Will you file a ticket? Gary On Tue, Oct 12, 2010 at 15:51, Michael Moores wrote: > I have a cluster of 8 nodes with a replication factor of 3 and consistency of > QUORUM. > When I stop one node in the cluster I end up with socket read ti

Re: how to CompareWith LongType

2010-10-14 Thread Gary Dusbabek
Pycassa should just take your long and do the right thing with it (packing it into a binary string) before passing it off to thrift. The system tests in the source (test/system/test_thrift_server.py) will give you a very good indication of how to do this. The long is packed into a string using st

Re: Hung Repair

2010-10-25 Thread Gary Dusbabek
ed to make this easier: http://lsd.luminis.nl/top-threads-plugin-for-jconsole/ Gary. On Fri, Oct 22, 2010 at 16:42, Dan Hendry wrote: > I am currently running a 4 node cluster on Cassandra beta 2. Yesterday, I > ran into a number of problems and the one of my nodes went down for a few

Re: batch_mutate in 0.7

2010-10-25 Thread Gary Dusbabek
client.set_keyspace() On Mon, Oct 25, 2010 at 12:59, Chris Oei wrote: > So, I'm a bit puzzled about how to change my old 0.6 code to 0.7. > In 0.6, I used: >   client.batch_mutate(keySpace, mutationMap, ConsistencyLevel.ONE); > But in 0.7, batch_mutate no longer has a keyspace argument, so I used

  1   2   >