Re: which high level Java client

2012-06-28 Thread Sasha Dolgy
. -- Sasha Dolgy sasha.do...@gmail.com

Re: portability between enterprise and community version

2012-06-13 Thread Sasha Dolgy
I consistently move keyspaces from linux machines onto windows machines for development purposes. I've had no issues ... but would probably be hesitant in rolling this out into a productive instance. Depends on the level of risk you want to take. : ) Run some tests ... mix things up and share

Re: RESTful API for GET

2012-06-12 Thread Sasha Dolgy
can use. Thanks, James -- Sasha Dolgy sasha.do...@gmail.com

Re: how to configure cassandra as multi tenant

2012-06-11 Thread Sasha Dolgy
- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote: Hi All, I wanted to know how to use cassandra as a multi tenant . Regards Arshad -- Sasha Dolgy sasha.do...@gmail.com

Re: how to configure cassandra as multi tenant

2012-06-11 Thread Sasha Dolgy
API's. Regards Arshad -- *From:* Sasha Dolgy [sdo...@gmail.com] *Sent:* Monday, June 11, 2012 3:09 PM *To:* user@cassandra.apache.org *Subject:* Re: how to configure cassandra as multi tenant Google, man. http://wiki.apache.org/cassandra/MultiTenant http

Zurich / Swiss / Alps meetup

2012-05-17 Thread Sasha Dolgy
all is interested? I often am jealous about all the fun I miss out on with the regular meetups that happen stateside ... Regards, -sd -- Sasha Dolgy sasha.do...@gmail.com

Re: Matthew Dennis's Cassandra On EC2

2012-05-17 Thread Sasha Dolgy
Although, probably inappropriate, I would be willing to contribute some funds for someone to recreate it with animated stick-figures. thanks. ;) On Thu, May 17, 2012 at 6:02 PM, Jeremy Hanna jeremy.hanna1...@gmail.comwrote: Sorry - it was at the austin cassandra meetup and we didn't record the

Re: unsubscribe

2012-04-16 Thread Sasha Dolgy
List-Help: mailto:user-h...@cassandra.apache.org List-Unsubscribe: mailto:user-unsubscr...@cassandra.apache.orguser-unsubscr...@cassandra.apache.org http://wiki.apache.org/cassandra/FAQ#unsubscribe On Mon, Apr 16, 2012 at 8:53 AM, Dirk Dittmar d.ditt...@wortzwei.de wrote:

RE: Using Thrift

2012-04-02 Thread Sasha Dolgy
Best to read about maven. Save you some grief. On Apr 2, 2012 3:05 PM, Rishabh Agrawal rishabh.agra...@impetus.co.in wrote: I didn’t fine slf4j files in distribution. So I downloaded them can you help me how to configure it. *From:* Dave Brosius [mailto:dbros...@mebigfatguy.com] *Sent:*

Re: How to store a list of values?

2012-03-26 Thread Sasha Dolgy
Save the skills in a single column in json format. Job done. On Mar 26, 2012 7:04 PM, Ben McCann b...@benmccann.com wrote: True. But I don't need the skills to be searchable, so I'd rather embed them in the user than add another top-level CF. I was thinking of doing something along the

Re: cassandra 1.08 on java7 and win7

2012-03-26 Thread Sasha Dolgy
interesting. that behaviour _does_ happen in 1.0.8, but doesn't in 1.0.6 on windows 7 with Java 7. looks to be a problem with the CLI and not the actual Cassandra service. just tried it now. -sd On Mon, Mar 26, 2012 at 11:29 PM, R. Verlangen ro...@us2.nl wrote: Ben Coverston wrote earlier

Re: cassandra 1.08 on java7 and win7

2012-03-26 Thread Sasha Dolgy
-- Frank Hsueh | frank.hs...@gmail.com -- Frank Hsueh | frank.hs...@gmail.com -- Sasha Dolgy sasha.do...@gmail.com

design that mimics twitter tweet search

2012-03-18 Thread Sasha Dolgy
column names from each row (representing each word) and flag all occurrences (tweet id's) that exist in each row ... however, these rows would get quite long over time. Am I missing an easier way to get a list of all tweetid's that exist in multiple rows? -- Sasha Dolgy sasha.do...@gmail.com

Re: design that mimics twitter tweet search

2012-03-18 Thread Sasha Dolgy
in multiple rows? -- Sasha Dolgy sasha.do...@gmail.com -- sent from my Nokia 3210 -- Sasha Dolgy sasha.do...@gmail.com

Re: data model question

2012-03-12 Thread Sasha Dolgy
Alternate would be to add another row to your user CF specific for Facebook ids. Column ID would be the Facebook identifier and value would be your internal uuid. Consider when you want to add another service like twitter. Will you then add another CF per service or just another row specific

Re: What is the best way to secure remote Cassandra (dev) server ?

2012-03-02 Thread Sasha Dolgy
Put it on a non-routable internal network. 192.168.x.x 172.16.x.x Etc... On Mar 2, 2012 1:56 PM, investtr investt...@gmail.com wrote: We have our development Cassandra 1.0.8 server running on EC2 and wanted to secure it. I read securing the entire server with firewall is one of the options.

Re: Best way to know the cluster status

2012-02-06 Thread Sasha Dolgy
to individual cassandra instance with a specified timeout and if it fails we report the node to be down.  But this test remains faulty. What are the other ways to test availability of nodes in cassandra cluster?  How does datastax opscenter manage to  do that? Regards, Tamil Selvan -- Sasha

Re: Cannot start cassandra node anymore

2012-01-26 Thread Sasha Dolgy
why would you ever want to stop all nodes together? On Thu, Jan 26, 2012 at 1:24 PM, Carlo Pires carlopi...@gmail.com wrote: I found out this is related to schema change. Happens *every time* I create drop and new CF with composite types. As workaround I: * never stop all nodes together To

Re: CLI exception :: A long is exactly 8 bytes: 1

2012-01-07 Thread Sasha Dolgy
Hi -- Sorry for the delay, and thanks for the response. Debug didn't print any stack traces and none are in the usual suspected places...but thanks for that hint. Didn't know that option existed. The age column is an Integer ... Updating to IntegerType worked. Thanks. On Mon, Jan 2, 2012 at

Re: cassandra site wsod's /mysql site functions

2012-01-03 Thread Sasha Dolgy
Have you looked at PHPCassa [ https://github.com/thobbs/phpcassa ] instead of using Thrift direct? I've had no issues with getting it to work with versions 0.7.x, 0.8.x and now 1.x ... it adds better error handling and overall, is fairly easy to get going. Some information to get you running:

CLI exception :: A long is exactly 8 bytes: 1

2011-12-30 Thread Sasha Dolgy
: org.apache.cassandra.db.marshal.MarshalException: A long is exactly 8 bytes: 1 This behaviour doesn't seem to be affecting phpcassa or hector retrieving the results of that query ... is this a silly something i've done, or something a bit more buggy with the CLI? Thanks in advance, -sd -- Sasha Dolgy sasha.do...@gmail.com

Re: CLI exception :: A long is exactly 8 bytes: 1

2011-12-30 Thread Sasha Dolgy
at 10:50 AM, Sasha Dolgy sdo...@gmail.com wrote: Hi Everyone, Been a while .. without any problems.  Thanks for grinding out a good product!  On 1.0.6, I applied an update to a column family to add a secondary index, and now via the CLI, when I perform a get user where something=1 I receive

Re: cassandra as an email store ...

2011-12-16 Thread Sasha Dolgy
Apr 29 15:20:07 2011, Sasha Dolgy wrote: Great read.  thanks. On Apr 29, 2011 4:07 PM, sridhar basam s...@basam.org mailto:s...@basam.org wrote: Have you already looked at some research out of IBM about this usecase? Paper is at http://ewh.ieee.org/r6/scv/computer/nfic/2009/IBM-Jun

Re: security

2011-11-09 Thread Sasha Dolgy
Firewall with appropriate rules. On Tue, Nov 8, 2011 at 6:30 PM, Guy Incognito dnd1...@gmail.com wrote: hi, is there a standard approach to securing cassandra eg within a corporate network?  at the moment in our dev environment, anybody with network connectivity to the cluster can connect

Re: Value-Added Services Layer

2011-10-27 Thread Sasha Dolgy
I don't have grand visions of having fat clients connect directly to Cassandra to read/write data. Too much risk in my opinion. On Tue, Oct 25, 2011 at 4:50 PM, Edward Capriolo edlinuxg...@gmail.com wrote: If you do not think restful API's are useful, try to make a fat client that speaks a

Re: Cassandra and Thrift on the Server Side

2011-10-25 Thread Sasha Dolgy
Hi Brian, It's an interesting one. Hope you don't mind some feedback .I see you have been making rounds publicizing the concept and patch (like on my blog ; ) http://blog.sasha.dolgy.com/2011/05/apache-cassandra-restful-api.html) For me, and the goals I have, I'm not sure this is fit for

Re: Volunteers needed - Wiki

2011-10-11 Thread Sasha Dolgy
maybe that should be the first wiki update the TODO On Tue, Oct 11, 2011 at 7:21 AM, Maki Watanabe watanabe.m...@gmail.comwrote: Hello aaron, I raise my hand too. If you have to-do list about the wiki, please let us know. maki

Operator on secondary indexes in 0.8.x (GTE/LTE)

2011-10-11 Thread Sasha Dolgy
: 'user_year_idx', index_type : 0}]; -- Sasha Dolgy sasha.do...@gmail.com

Re: Operator on secondary indexes in 0.8.x (GTE/LTE)

2011-10-11 Thread Sasha Dolgy
fix it. On Tue, Oct 11, 2011 at 4:48 PM, Sasha Dolgy sdo...@gmail.com wrote: I was trying to get a range of rows based on a secondary_index that was defined. Any rows where age was greater than or equal to ... it didn't work. Is this a continued limitation? Did a quick look in JIRA, couldn't

Re: Volunteers needed - Wiki

2011-10-11 Thread Sasha Dolgy
, Jérémy SEVELLEC wrote: Hi Aaron, I think the CommitLog section is outdated ( http://wiki.apache.org/cassandra/ArchitectureCommitLog) : The CommitLogHeader is no longer exist since this ticket : https://issues.apache.org/jira/browse/CASSANDRA-2419 Regards, Jérémy 2011/10/11 Sasha Dolgy sdo

Re: ebs or ephemeral

2011-10-10 Thread Sasha Dolgy
just catching the tail end of this discussion. aaron, in your previous email, you said And an explanation of why we normally avoid ephemeral. shouldn't this be, avoiding EBS? EBS was a nightmare for us in terms of performance. On Mon, Oct 10, 2011 at 9:23 AM, aaron morton

Re: what's the difference between repair CF separately and repair the entire node?

2011-09-14 Thread Sasha Dolgy
It was mentioned in another thread that Twitter uses 0.8 in productionfor me that was a fairly strong testimonial... On Sep 14, 2011 9:28 AM, Yan Chunlu springri...@gmail.com wrote: is 0.8 ready for production use? as I know currently many companies including reddit.com are using 0.7, how

AntiEntropyService.getNeighbors pulls information from where?

2011-09-12 Thread Sasha Dolgy
of the configurations I have AND the full ring has been shut down and started up ... not trying to give Vijay a hard time by posting here btw! Just thinking it could be something super silly ... that a wider audience has come across. -- Sasha Dolgy sasha.do...@gmail.com

Re: AntiEntropyService.getNeighbors pulls information from where?

2011-09-12 Thread Sasha Dolgy
? Anyone know a way to remove a ghost IP from gossip that does not have a token associated with it ? Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 13/09/2011, at 6:39 AM, Sasha Dolgy wrote: This relates to the issue i

Ec2Snitch nodetool issue after upgrade to 0.8.5

2011-09-10 Thread Sasha Dolgy
Upgraded one ring that has four nodes from 0.8.0 to 0.8.5 with only one minor problem.  It relates to Ec2Snitch when running a 'nodetool ring' from two of the four nodes.  the rest are all working fine: Address         DC          Rack        Status State   Load Owns    Token        

Re: Ec2Snitch nodetool issue after upgrade to 0.8.5

2011-09-10 Thread Sasha Dolgy
maybe it's related to this ... https://issues.apache.org/jira/browse/CASSANDRA-3114 odd thing is, we haven't moved to Ec2Snitch ... been using it for quite a long time now ... On Sat, Sep 10, 2011 at 1:42 PM, Sasha Dolgy sdo...@gmail.com wrote: Upgraded one ring that has four nodes from 0.8.0

Re: Ec2Snitch nodetool issue after upgrade to 0.8.5

2011-09-10 Thread Sasha Dolgy
Of course. Hoping one day I create an issue related to Ec2 that CAN be reproduced... https://issues.apache.org/jira/browse/CASSANDRA-3175 On Sat, Sep 10, 2011 at 10:10 PM, Jonathan Ellis jbel...@gmail.com wrote: Can you create a Jira ticket?

Re: Is Cassandra suitable for this use case?

2011-08-25 Thread Sasha Dolgy
You can chunk the files into pieces and store the pieces in Cassandra... Munge all the pieces back together when delivering back to the client... On Aug 25, 2011 6:33 PM, Ruby Stevenson ruby...@gmail.com wrote: hi Evgeny I appreciate the input. The concern with HDFS is that it has own share of

Re: Changing the CLI, not a great idea!

2011-07-28 Thread Sasha Dolgy
Unfortunately, the perception that I have as a business consumer and night-time hack, is that more importance and effort is placed on ensuring information is up to date and correct on the http://www.datastax.com/docs/0.8/index website and less on keeping the wiki up to date or relevant... which

Re: Equalizing nodes storage load

2011-07-22 Thread Sasha Dolgy
are you trying to balance load or owns ? owns looks fine ... 33.33% each ... which to me says balanced. how did you calculate your tokens? On Fri, Jul 22, 2011 at 4:37 PM, Mina Naguib mina.nag...@bloomdigital.com wrote: Address         Status State   Load            Owns    Token

Re: Cassandra training in Bangalore, India

2011-07-21 Thread Sasha Dolgy
I am quite certain if you find enough people and pony up the fees a few people on this list would be willing to make the journey... On Jul 21, 2011 8:02 AM, samal sa...@wakya.in wrote: As per my knowledge, there is not such expert training available in India as of now. As Sameer said there is

Re: Need help json2sstable

2011-07-20 Thread Sasha Dolgy
? Please provide me the steps. What are the things I have configure? Thank You -- Sasha Dolgy sasha.do...@gmail.com

Re: best example of indexing

2011-07-20 Thread Sasha Dolgy
Examples exist in the conf directory of the distribution... On Jul 20, 2011 11:48 AM, CASSANDRA learner cassandralear...@gmail.com wrote: Hi Guys, Can you please give me the best example of creating index on a column family. As I am completely new to this, Can you please give me a simple and

Re: One node down but it thinks its fine...

2011-07-13 Thread Sasha Dolgy
-- Sasha Dolgy sasha.do...@gmail.com

Re: Survey: Cassandra/JVM Resident Set Size increase

2011-07-12 Thread Sasha Dolgy
I'll post more tomorrow ... However, we set up one node in a single node cluster and have left it with no datareviewing memory consumption graphs...it increased daily until it gobbled (highly technical term) all memory...the system is now running just below 100% memory usagewhich i find

Re: Storing counters in the standard column families along with non-counter columns ?

2011-07-10 Thread Sasha Dolgy
No, it's not possible. To achieve it, there are two options ... contribute to the issue or wait for it to be resolved ... https://issues.apache.org/jira/browse/CASSANDRA-2614 -sd On Sun, Jul 10, 2011 at 5:04 PM, Aditya Narayan ady...@gmail.com wrote: Is it now possible to store counters in

Re: Repair doesn't work after upgrading to 0.8.1

2011-07-01 Thread Sasha Dolgy
This is the same behavior I reported in 2768 as Aaron referenced ... What was suggested for us was to do the following: - Shut down the entire ring - When you bring up each node, do a nodetool repair That didn't immediately resolve the problems. In the end, I backed up all the data, removed the

DataStax Brisk

2011-06-30 Thread Sasha Dolgy
How far behind is Brisk from the Cassandra release cycle? If 0.8.1 of Cassandra was released yesterday, when ( if it isn't already ) will the Brisk distribution implement 0.8.1? -sd -- Sasha Dolgy sasha.do...@gmail.com

Re: advice for EC2 deployment

2011-06-23 Thread Sasha Dolgy
west is showing only 2 nodes which are up in that region but not the other 2 which are there in US-east. Kindly suggest a solution. -thanks On Wed, Apr 27, 2011 at 5:45 PM, Sasha Dolgy sdo...@gmail.com wrote: Hi, If I understand you correctly, you are trying to get a private ip in us-east

Re: How to create data model from RDBMS ERD

2011-06-23 Thread Sasha Dolgy
you can create the inverted index in the same CF ... just means you would have potentially lots more rows ... do you have a use-case or hypothetical you can share? if not ... here's one. http://code.google.com/p/oauth-php it has an RDBMs suggested model

Re: advice for EC2 deployment

2011-06-23 Thread Sasha Dolgy
we use a combination of Vyatta OpenVPN on the nodes that are EC2 and nodes that aren't Ec2works a treat. On Thu, Jun 23, 2011 at 10:23 PM, Sameer Farooqui cassandral...@gmail.com wrote: EC2Snitch doesn't currently support multi-Regions in Amazon. Tickets to track:

Re: Storing files in blob into Cassandra

2011-06-22 Thread Sasha Dolgy
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Storing-photos-images-docs-etc-td6078278.html Of significance from that link (which was great until feeling lucky was removed...): Google of terms cassandra large files + feeling lucky

Re: solandra or pig or....?

2011-06-22 Thread Sasha Dolgy
First, thanks everyone for the input. Appreciate it. The number crunching would already have been completed, and all statistics per game defined, and inserted into the appropriate CF/row/cols ... So, that being said, Solandra appears to be the right way to go ... except, this would require that

Re: OOM (or, what settings to use on AWS large?)

2011-06-22 Thread Sasha Dolgy
.. On Wed, Jun 1, 2011 at 2:30 PM, Sasha Dolgy sdo...@gmail.com wrote: is there a specific string I should be looking for in the logs that isn't super obvious to me at the moment... On Tue, May 31, 2011 at 8:21 PM, Jonathan Ellis jbel...@gmail.com wrote: The place to start

Re: OOM (or, what settings to use on AWS large?)

2011-06-22 Thread Sasha Dolgy
Yes ... this is because it was the OS that killed the process, and wasn't related to Cassandra crashing. Reviewing our monitoring, we saw that memory utilization was pegged at 100% for days and days before it was finally killed because 'apt' was fighting for resource. At least, that's as far as I

Re: No Transactions: An Example

2011-06-22 Thread Sasha Dolgy
I'd implement the concept of a bank account using counters in a counter column family. one row per account ... each column for transaction data and one column for the actual balance. just so long as you use whole numbers ... no one needs pennies anymore. -sd On Wed, Jun 22, 2011 at 4:18 PM,

Re: Storing Accounting Data

2011-06-22 Thread Sasha Dolgy
but you can store the -details- of a transaction as json data and do some sanity checks to validate that the data you currently have stored aligns with the recorded transactions. maybe a batch job run every 24 hours ... On Wed, Jun 22, 2011 at 4:19 PM, Oleg Anastastasyev olega...@gmail.com

Re: No Transactions: An Example

2011-06-22 Thread Sasha Dolgy
I would still maintain a record of the transaction ... so that I can do analysis post to determine if/when problems occurred ... On Wed, Jun 22, 2011 at 4:31 PM, Trevor Smith tre...@knewton.com wrote: Sasha, How would you deal with a transfer between accounts in which only one half of the

Re: 99.999% uptime - Operations Best Practices?

2011-06-22 Thread Sasha Dolgy
Implement monitoring and be proactive...that will stop you waking up to a big surprise. i'm sure there were symltoms leading up to all 4 nodes going down. willing to wager that each node went down at different times and not all went down at once... On Jun 22, 2011 11:50 PM, Les Hazlewood

Re: OOM (or, what settings to use on AWS large?)

2011-06-22 Thread Sasha Dolgy
http://www.twitpic.com/5fdabn http://www.twitpic.com/5fdbdg i do love a good graph. two of the weekly memory utilization graphs for 2 of the 4 servers from this ring... week 21 was a nice week ... the week before 0.8.0 went out proper. since then, bumped up to 0.8 and have seen a steady

Re: OOM (or, what settings to use on AWS large?)

2011-06-22 Thread Sasha Dolgy
of the reductions in Used on that graph correspond to node restarts? My Zabbix for reference: http://img194.imageshack.us/img194/383/2weekmem.png On 06/22/2011 06:35 PM, Sasha Dolgy wrote: http://www.twitpic.com/5fdabn http://www.twitpic.com/5fdbdg i do love a good graph.  two of the weekly memory

Re: Storing files in blob into Cassandra

2011-06-22 Thread Sasha Dolgy
maybe you want to spend a few minutes reading about Haystack over at facebook to give you some ideas... https://www.facebook.com/note.php?note_id=76191543919 Not saying what they've done is the right way... just sayin' On Thu, Jun 23, 2011 at 6:29 AM, AJ a...@dude.podzone.net wrote: I was

Re: port 8080

2011-06-21 Thread Sasha Dolgy
it's defined in $CASSANDRA_HOME/conf/cassandra-env.sh JMX_PORT= Have it different for each instance ... On Tue, Jun 21, 2011 at 1:24 PM, osishkin osishkin osish...@gmail.com wrote: I want to have several deamons running on a machine, each belinging to a multi-node cluster. Is that a problem

Re: port 8080

2011-06-21 Thread Sasha Dolgy
regarding that port when we uploaded one of the machines. Unfortunately I don't have access to them currently, so I can't replicate it immediately. but I thought perhaps someone can repute my fear that there is something special about that port On Tue, Jun 21, 2011 at 2:28 PM, Sasha Dolgy sdo

Re: pig integration NoClassDefFoundError TypeParser

2011-06-21 Thread Sasha Dolgy
bang on ... no idea why ... a new day a fresh login ... environment variables gone. working now with cassandra 0.8.0 and pig 0.8.1 went through all my steps and all is working ... except line 45 in the bin/pig_cassandra is not proper when there are multiple pig*.jar files. On Mon, Jun 20, 2011

solandra or pig or....?

2011-06-21 Thread Sasha Dolgy
to think of ways to offload this to them. -- Sasha Dolgy sasha.do...@gmail.com

Re: solandra or pig or....?

2011-06-21 Thread Sasha Dolgy
at 8:19 PM, Jake Luciani jak...@gmail.com wrote: Solandra can answer the question you used as an example and it's more of a fit for low-latency ad-hoc reporting then PIG.  Pig queries will take minutes not seconds. On Tue, Jun 21, 2011 at 12:12 PM, Sasha Dolgy sdo...@gmail.com wrote: Folks

pig integration NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
Been trying for the past little bit to try and get the PIG integration working with Cassandra 0.8.0 1. Downloaded the src for 0.8.0 and ran ant build 2. went into contrib/pig and ran ant ... gives me: /usr/local/src/apache-cassandra-0.8.0-src/contrib/pig/build/cassandra_storage.jar and is

Re: pig integration NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
believe today brisk beta 2 will be out which has pig integrated.  Not sure if that would work for your current environment though. See if that works. On Jun 20, 2011, at 1:09 PM, Sasha Dolgy wrote: Been trying for the past little bit to try and get the PIG integration working with Cassandra

Re: pig integration NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
Yes ... I ran an ant in the root directory on a fresh download of 0.8.0 src: /usr/local/src/apache-cassandra-0.8.0-src# ls /usr/local/src/apache-cassandra-0.8.0-src/build/classes/main/org/apache/cassandra/db/marshal/ AbstractCommutativeType.class AbstractType.class LexicalUUIDType.class

Re: pig integration NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
? On Mon, Jun 20, 2011 at 9:18 PM, Sasha Dolgy sdo...@gmail.com wrote: Yes ... I ran an ant in the root directory on a fresh download of 0.8.0 src: /usr/local/src/apache-cassandra-0.8.0-src# ls /usr/local/src/apache-cassandra-0.8.0-src/build/classes/main/org/apache/cassandra/db/marshal

Re: cassandra crash

2011-06-17 Thread Sasha Dolgy
What type of environment? We had issues with our cluster on 0.7.6-2 ... The messages you see and highlighted, from what I recall aren't bad ... they are good. Investigating our crash, it turns out that the OS killed our Cassandra process and this was found in /var/log/messages Since then, I

Re: Cassandra.yaml

2011-06-17 Thread Sasha Dolgy
Hi Vivek, When I write client code in Java, using Hector, I don't specify a cassandra.yaml ... I specify the host(s) and keyspace I want to connect to. Alternately, I specify the host(s) and create the keyspace if the one I would like to use doesn't exist (new cluster for example). At no point

Re: Querying superColumn

2011-06-17 Thread Sasha Dolgy
) ? From: Sasha Dolgy [mailto:sdo...@gmail.com] Sent: Thursday, June 16, 2011 8:47 PM To: user@cassandra.apache.org Subject: Re: Querying superColumn Have 1 row with employee info for country/office/division, each column an employee id and json info about the employee or a reference.to.another

Re: getFieldValue()

2011-06-17 Thread Sasha Dolgy
A good example for what I understand in using Hector / pycassa / etc. is, if you wanted to implement connection pooling, you would have to craft your own solution, versus implementing the solution that is tested and ready to go, provided by Hector. Thrift doesn't provide native connection pooling

Re: Docs: Token Selection

2011-06-17 Thread Sasha Dolgy
+1 for this if it is possible... On Fri, Jun 17, 2011 at 6:31 PM, Eric tamme eta...@gmail.com wrote: What I don't like about NTS is I would have to have more replicas than I need.  {DC1=2, DC2=2}, RF=4 would be the minimum.  If I felt that 2 local replicas was insufficient, I'd have to move up

Re: urgent how to specify multiple hosts in cassandra

2011-06-17 Thread Sasha Dolgy
:               - seeds: 192.168.1.115,192.168.1.110,192.168.1.113 ...                                       ^ Please suggest I am doing upgrade right now/ Thanks Anurag -- Sasha Dolgy sasha.do...@gmail.com

Re: Docs: Token Selection

2011-06-17 Thread Sasha Dolgy
is {DC1:1,DC2:2}. Interesting.  Thx. -- Sasha Dolgy sasha.do...@gmail.com

Re: sstable2json2sstable bug with json data stored

2011-06-16 Thread Sasha Dolgy
The JSON you are showing below is an export from cassandra? { 74657374: [[data, {foo:bar}, 1308209845388000]] } Does this work? { 74657374: [[data, {foo:bar}, 1308209845388000]] } -sd On Thu, Jun 16, 2011 at 9:49 AM, Timo Nentwig timo.nent...@toptarif.de wrote: On 6/15/11 17:41, Timo Nentwig

Re: Querying superColumn

2011-06-16 Thread Sasha Dolgy
Have 1 row with employee info for country/office/division, each column an employee id and json info about the employee or a reference.to.another row id for that employee data No more supercolumn. On Jun 16, 2011 1:56 PM, Vivek Mishra vivek.mis...@impetus.co.in wrote: I have a question about

Re: Docs: Token Selection

2011-06-16 Thread Sasha Dolgy
So, with ec2 ... 3 regions (DC's), each one is +1 from another? On Jun 16, 2011 3:40 PM, AJ a...@dude.podzone.net wrote: Thanks Eric! I've finally got it! I feel like I've just been initiated or something by discovering this secret. I kid! But, I'm thinking about using OldNetworkTopStrat.

Re: cascading failures due to memory

2011-06-15 Thread Sasha Dolgy
No. Upgraded to 0.8 and monitor the systems more. we schedule a repair every 24hrs via cron and so far no problems.. On Jun 15, 2011 5:44 PM, AJ a...@dude.podzone.net wrote: Sasha, Did you ever nail down the cause of this problem? On 5/31/2011 4:01 AM, Sasha Dolgy wrote: hi everyone

Re: What's the best approach to search in Cassandra

2011-06-15 Thread Sasha Dolgy
Datastax has pretty sufficient documentation on their site for secondary indexes. On Jun 16, 2011 6:57 AM, Mark Kerzner markkerz...@gmail.com wrote: Jake, *You need to maintain a huge number of distinct indexes.* * * *Are we talking about secondary indexes? If yes, this sounds like exactly

Re: odd logs after repair

2011-06-14 Thread Sasha Dolgy
) at org.apache.cassandra.service.AntiEntropyService$RepairSession.run(AntiEntropyService.java:776) I'm at a loss as to why this is showing up in the logs. -sd On Mon, Jun 13, 2011 at 3:58 PM, Sasha Dolgy sdo...@gmail.com wrote: hm.  that's not it.  we've been using a non-standard jmx port for some time i've dropped

Re: odd logs after repair

2011-06-14 Thread Sasha Dolgy
(restarting 10.128.34.18 and look for something like 'Cassandra version: 0.8.0' is one solution). If the does does run 0.8.0 and you still get this error, then it would point to a problem with our detection of the nodes. -- Sylvain On Tue, Jun 14, 2011 at 9:55 AM, Sasha Dolgy sdo

Re: odd logs after repair

2011-06-14 Thread Sasha Dolgy
https://issues.apache.org/jira/browse/CASSANDRA-2768 On Tue, Jun 14, 2011 at 10:55 AM, Sylvain Lebresne sylv...@datastax.com wrote: Could you open a ticket then please ? -- Sylvain On Tue, Jun 14, 2011 at 10:25 AM, Sasha Dolgy sdo...@gmail.com wrote: Hi Sylvain, I verified on all nodes

Re: New web client future API

2011-06-14 Thread Sasha Dolgy
web client (http://www.codefreun.de/apollo) which is Thrift-based, and therefore I would like to know what the future is ... Many thanks MW -- Sasha Dolgy sasha.do...@gmail.com

Re: odd logs after repair

2011-06-13 Thread Sasha Dolgy
I recall there being a discussion about a default port changing from 0.7.x to 0.8.x ...this was JMX, correct? Or were there others. On Mon, Jun 13, 2011 at 3:34 PM, Sasha Dolgy sdo...@gmail.com wrote: Hi Aaron, The error is being reported on all 4 nodes. I have confirmed (for my own sanity

Re: count column in Cassandra

2011-06-13 Thread Sasha Dolgy
probably helpful if you change the subject when posting about a different topic. Is your question about counters or the count function? Counters are cool. Count allows you to determine how many columns exist in a row. -sd On Mon, Jun 13, 2011 at 5:27 PM, Sijie YANG iyan...@gmail.com wrote:

Re: SSL Streaming

2011-06-13 Thread Sasha Dolgy
or more keys for the lifetime of the data. It will also complicate your data view interfaces. However, if Cassandra had data encryption built-in somehow, that would solve this problem... just thinking out loud. Can anyone think of other pro/cons of both strategies? On 3/22/2011 2:21 AM, Sasha Dolgy

Re: Cassandra not starting right

2011-06-11 Thread Sasha Dolgy
Dont post to the list in html...that should work. -f puts it to foreground. Without -f puts it to the bafkground On Jun 11, 2011 7:29 AM, Jean-Nicolas Boulay Desjardins jnbdzjn...@gmail.com wrote: Thanks for your help! It seems when I use this command: ./bin/cassandra -f It makes it

Re: Cannot connect to Cassandra

2011-06-10 Thread Sasha Dolgy
Exception connecting to localhost/9160. Reason: Connection refused. Thanks in advance... -- Sasha Dolgy sasha.do...@gmail.com

Re: Python Client

2011-06-10 Thread Sasha Dolgy
pycassa.. http://pycassa.github.com/pycassa/ On Sat, Jun 11, 2011 at 4:58 AM, Carlos Sanchez papach...@gmail.com wrote: All, I was wondering if there are Cassandra python clients and which one would be the best to use Thanks a lot, Carlos

Re: after a while nothing happening with repair

2011-06-09 Thread Sasha Dolgy
/710603722 - 0% DFS: /var/lib/cassandra/data/DFS/main-f-1322-Data.db sections=2 progress=0/5844992187 - 0% -- Sasha Dolgy sasha.do...@gmail.com

Re: how to retrieve data from supercolumns by phpcassa ?

2011-06-08 Thread Sasha Dolgy
you'll find a response to this question on the phpcassa mailing list ... where you asked the same question. -sd On Wed, Jun 8, 2011 at 10:22 AM, amrita amritajayakuma...@gmail.com wrote: Hi, Can u please tell me how to create a supercolumn and retrieve data from it using phpcassa???

upgrading to cassandra 0.8

2011-06-07 Thread Sasha Dolgy
? Or ... should schema changes not be done until all nodes are upgraded? -- Sasha Dolgy sasha.do...@gmail.com

Re: cascading failures due to memory

2011-06-01 Thread Sasha Dolgy
ballooned (too many rows versus not enough columns) suggestions appreciated -- Sasha Dolgy sasha.do...@gmail.com -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com -- Sasha Dolgy sasha.do

Re: cascading failures due to memory

2011-06-01 Thread Sasha Dolgy
and is there anything specific that could be causing the issue between Java SE 1.6.0_24 and 1.6.0_25 ? All nodes are _24 up to 64% memory usage today -sd On Wed, Jun 1, 2011 at 9:30 PM, Sasha Dolgy sdo...@gmail.com wrote: is there a specific string I should be looking for in the logs

cascading failures due to memory

2011-05-31 Thread Sasha Dolgy
) suggestions appreciated -- Sasha Dolgy sasha.do...@gmail.com

Re: starting with PHPcassa

2011-05-31 Thread Sasha Dolgy
http://thobbs.github.com/phpcassa/installation.html If you already have the log files, pycassa (python) may be better suited and quicker http://pycassa.github.com/pycassa/ On Tue, May 31, 2011 at 4:03 PM, Amrita Jayakumar amritajayakuma...@gmail.com wrote: I have log files of the format

  1   2   3   >