Re: which high level Java client

2012-06-28 Thread Sasha Dolgy
> often (for example, if you are using WAN) better to try something else > first. > -- 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 y

Re: RESTful API for GET

2012-06-11 Thread Sasha Dolgy
2012 at 9:06 AM, James Pirz ><mailto:james.p...@gmail.com>> wrote: >> >>Dear all, >> >>I am trying to query the system, specifically performing a GET >>for a specific key, through Jmeter (or CURL) >>and I am wondering what is the best pure RESTful API for the >>system (with the lowest overhead) that I can use. >> >>Thanks, >>James >> >> >> >> > -- Sasha Dolgy sasha.do...@gmail.com

Re: how to configure cassandra as multi tenant

2012-06-11 Thread Sasha Dolgy
tenant) automatically > using cassandra 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 a

Re: how to configure cassandra as multi tenant

2012-06-11 Thread Sasha Dolgy
on this, search the user group > for more detailed answers. > > Cheers > >- > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote: > > Hi All, > >

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 wrote: > Sorry - it was at the austin cassandra meetup and we didn't record the > presentation. I wonder

Zurich / Swiss / Alps meetup

2012-05-17 Thread Sasha Dolgy
gain. Who 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: unsubscribe

2012-04-16 Thread Sasha Dolgy
List-Help: List-Unsubscribe: mailto:user-unsubscr...@cassandra.apache.org http://wiki.apache.org/cassandra/FAQ#unsubscribe On Mon, Apr 16, 2012 at 8:53 AM, Dirk Dittmar 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" 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:* Monday, April 02, 201

Re: cassandra 1.08 on java7 and win7

2012-03-26 Thread Sasha Dolgy
lease initialize the log4j system properly. >>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfigfor >>>> more info. >>>> Cannot locate cassandra.yaml >>>> Fatal configuration error; unable to start server. See log for >>>> stacktrace. >>>> >>>> C:\Workspace\cassandra\apache-cassandra-1.0.8\bin> >>>> <<<< >>>> >>>> anybody seen this before ? >>>> >>>> >>>> -- >>>> Frank Hsueh | frank.hs...@gmail.com >>>> >>> >>> >>> >>> -- >>> With kind regards, >>> >>> Robin Verlangen >>> www.robinverlangen.nl >>> >>> >> >> >> -- >> Frank Hsueh | frank.hs...@gmail.com >> > > > > -- > Frank Hsueh | frank.hs...@gmail.com > -- Sasha Dolgy sasha.do...@gmail.com

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 wrote: > Ben Coverston wrote earlier today: " Use

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" 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 lines of adding a

Re: design that mimics twitter tweet search

2012-03-19 Thread Sasha Dolgy
most excellent ... thanks Chris! On Mon, Mar 19, 2012 at 9:23 AM, Chris Goffinet wrote: > We do not use Cassandra for search. We made modifications to Lucene. > > Here is a blog post on our engineering section that talks about what we > did: > > > http://engineering.twitter.com/2011/04/twitter-se

Re: design that mimics twitter tweet search

2012-03-18 Thread Sasha Dolgy
h > > 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 > > > > -- > sent from my Nokia 3210 > -- Sasha Dolgy sasha.do...@gmail.com

design that mimics twitter tweet search

2012-03-18 Thread Sasha Dolgy
y pull a list of all 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 mult

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 now

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" 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. > What are the o

Re: Best way to know the cluster status

2012-02-06 Thread Sasha Dolgy
t;>  Currently we are trying to connect 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 datast

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 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 stop a node: >

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

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

2011-12-30 Thread Sasha Dolgy
ink you need to mention data type in your command. You have to run the > following command first: > assume keys as > > Otherwise, you need to mention type with each command, e.g., > utf8('keyname'). > http://wiki.apache.org/cassandra/CassandraCli > > Moshiur >

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

2011-12-30 Thread Sasha Dolgy
ing result: 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: cassandra as an email store ...

2011-12-16 Thread Sasha Dolgy
pful. > > Regards, > Rustam. > > > On Fri Apr 29 15:20:07 2011, Sasha Dolgy wrote: >> >> Great read.  thanks. >> >> >> On Apr 29, 2011 4:07 PM, "sridhar basam" > <mailto:s...@basam.org>> wrote: >> > Have you already looked

Re: security

2011-11-09 Thread Sasha Dolgy
Firewall with appropriate rules. > On Tue, Nov 8, 2011 at 6:30 PM, Guy Incognito 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 to it

Re: Value-Added Services Layer

2011-10-26 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 wrote: > > If you do not think restful API's are useful, try to make a fat client that > speaks a non http or https pro

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 p

Re: 0.7.9 RejectedExecutionException

2011-10-12 Thread Sasha Dolgy
What OS? JVM version? is it always on the same node or all nodes? i had a similar problem in the past in that the OS killed Cassandra because it felt threatened and needed more resources. On Wed, Oct 12, 2011 at 7:47 PM, Ashley Martens wrote: > The thing is we only see that error once every s

Re: Volunteers needed - Wiki

2011-10-11 Thread Sasha Dolgy
>> >>> @Jérémy >>> Thanks I'll keep that in mind. >>> >>> Cheers >>> >>> ----- >>> Aaron Morton >>> Freelance Cassandra Developer >>> @aaronmorton >>> http://www.thelastpick

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

2011-10-11 Thread Sasha Dolgy
ould fix it. > > On Tue, Oct 11, 2011 at 4:48 PM, Sasha Dolgy 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?

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

2011-10-11 Thread Sasha Dolgy
_on_write = true and row_cache_provider = 'ConcurrentLinkedHashCacheProvider' and column_metadata = [ {column_name : 'gender', validation_class : LongType, index_name : 'user_gender_idx', index_type : 0}, {column_name : 'year', validation_class : LongType, index_name : 'user_year_idx', index_type : 0}]; -- Sasha Dolgy sasha.do...@gmail.com

Re: Volunteers needed - Wiki

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

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

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" wrote: > is 0.8 ready for production use? as I know currently many companies > including reddit.com are using 0.7, how does they get rid of

Re: AntiEntropyService.getNeighbors pulls information from where?

2011-09-12 Thread Sasha Dolgy
ghost IP show up in nodetool ring ? > > 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 &

AntiEntropyService.getNeighbors pulls information from where?

2011-09-12 Thread Sasha Dolgy
xist? It's in none 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: 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 wrote: > Can you create a Jira ticket?

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 wrote: > Upgraded one ring that has four nodes f

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        14836224792726

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" wrote: > hi Evgeny > > I appreciate the input. The concern with HDFS is that it has own > share of problems -

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 for

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 wrote: > > Address         Status State   Load            Owns    Token > xx.xx.x.105     Up     Normal

Re: Cassandra training in Bangalore, India

2011-07-20 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" wrote: > As per my knowledge, there is not such expert training available in India as > of now. > As Sameer said there is enough onli

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" 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 > good example.

Re: Need help json2sstable

2011-07-19 Thread Sasha Dolgy
> } > > If the structure is incorrect, please give me one small structre to use > below utility. > I am using 0.7.5 version. > Now how can I can use Json2SStable utilities? Please provide me the steps. > What are the things I have configure? > > Thank You > -- Sasha Dolgy sasha.do...@gmail.com

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

2011-07-13 Thread Sasha Dolgy
>> 56713727820156410577229101238628035242 >> xx.xx.22.236 Up Normal 9.63 GB 16.67% >> 85070591730234615865843651857942052863 >> xx.xx.97.96 Up Normal 10.68 GB 16.67% >> 113427455640312821154458202477256070484 >> xx.xxx.17.122 Up Normal 10.18 GB 16.67% >> 141784319550391026443072753096570088105 >> >> -- >> Ray Slakinski >> >> > > -- 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 pec

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 wrote: > Is it now possible to store counters in the standard colum

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: Restarting cluster

2011-06-24 Thread Sasha Dolgy
Normally, no. What you've done is fine. What is the environment? On amazon EC2 for example, the instance could have crashed, a new one is brought online and has a different internal IP ... in the cassandra/logs/system.log are there any messages on the 2nd node and how it relates to the seed nod

Re: counter question

2011-06-24 Thread Sasha Dolgy
let me know.  not that they wouldn't > be > I guess what I am really asking is if I am the first one to really try this > in production on an analytic type scale? > /* > Joe Stein > http://www.linkedin.com/in/charmalloc > Twitter: @allthingshadoop > */ > -- Sasha Dolgy sasha.do...@gmail.com

how to remove a "null" column

2011-06-24 Thread Sasha Dolgy
N_CALL' as hex bytes [default@sdo] How to remove a null column or a column called null...? -- Sasha Dolgy sasha.do...@gmail.com

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 wrote: > EC2Snitch doesn't currently support multi-Regions in Amazon. > Tickets to track: > https://issues.apache.org/jira/browse/CASSAN

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 http://oauth-php.googlecode.com/svn/

Re: advice for EC2 deployment

2011-06-23 Thread Sasha Dolgy
That is EC2 US 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 wrote: >> >> Hi, >> >> If I understand you corre

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 wrote: > > I was thinking of doing the s

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

2011-06-22 Thread Sasha Dolgy
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 go

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 increase

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

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 wrote: > Sasha, > How would you deal with a transfer between accounts in which only one half > of the operation was succes

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 wrote: >> >> Is C* suita

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

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

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

2011-06-22 Thread Sasha Dolgy
node .. On Wed, Jun 1, 2011 at 2:30 PM, Sasha Dolgy 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 wrote: >> The place to start is with the sta

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: 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 http://www.google.com/search?q=cassandra+large+

Re: solandra or pig or....?

2011-06-21 Thread Sasha Dolgy
11 at 8:19 PM, Jake Luciani 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 wrote: >> >

solandra or pig or....?

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

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 a

Re: port 8080

2011-06-21 Thread Sasha Dolgy
saw a warning 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

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 wrote: > I want to have several deamons running on a machine, each belinging to > a multi-node cluster. > Is that a problem in concern to po

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
assumption? On Mon, Jun 20, 2011 at 9:18 PM, Sasha Dolgy 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

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
natively, I 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

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 copied

Re: Docs: Token Selection

2011-06-17 Thread Sasha Dolgy
rom DC2, so you should >> just make two different Cassandra clusters.  Once for the DC1 guys which >> is {DC1:2, DC2:1} and one for the DC2 guys which is {DC1:1,DC2:2}. >> > > Interesting.  Thx. > > -- Sasha Dolgy sasha.do...@gmail.com

Re: urgent how to specify multiple hosts in cassandra

2011-06-17 Thread Sasha Dolgy
2.168.1.115","192.168. ... >                 ^ > expected , but found FlowEntry >  in "", line 106, column 35: >               - 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
+1 for this if it is possible... On Fri, Jun 17, 2011 at 6:31 PM, Eric tamme 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 to RF=6 wh

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: Querying superColumn

2011-06-17 Thread Sasha Dolgy
ect. But that will not solve issue of data colocation(data locality) ? > > > > 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 ro

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 d

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 have

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" 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. Do you, or any

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" wrote: > I have a question about querying super column >

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 wrote: > On 6/15/11 17:41, Timo Nentwig wrote: >>

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" wrote: > Jake, > > *You need to maintain a huge number of distinct indexes.* > * > * > *Are we talking about secondary indexes? If yes, this sounds like exactly my > problem. T

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" wrote: > Sasha, > > Did you ever nail down the cause of this problem? > > On 5/31/2011 4:01 AM, Sasha Dolgy wrote: >>

Re: New web client & future API

2011-06-14 Thread Sasha Dolgy
n of my 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-14 Thread Sasha Dolgy
https://issues.apache.org/jira/browse/CASSANDRA-2768 On Tue, Jun 14, 2011 at 10:55 AM, Sylvain Lebresne wrote: > Could you open a ticket then please ? > > -- > Sylvain > > On Tue, Jun 14, 2011 at 10:25 AM, Sasha Dolgy wrote: >> Hi Sylvain, >> >> I verifie

Re: odd logs after repair

2011-06-14 Thread Sasha Dolgy
running 0.7. You should check if it is > the case (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. > >

Re: odd logs after repair

2011-06-14 Thread Sasha Dolgy
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 wrote: > hm.  that's not it.  we've been using a non-standard jmx port for some > time > > i&

Re: SSL & Streaming

2011-06-13 Thread Sasha Dolgy
> >> A drawback, however, is now you have to manage one 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

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 wrote: > Hi, All > I am

Re: odd logs after repair

2011-06-13 Thread Sasha Dolgy
hm. that's not it. we've been using a non-standard jmx port for some time i've dropped the keyspace and recreated ... wonder if that'll help On Mon, Jun 13, 2011 at 3:57 PM, Tyler Hobbs wrote: > On Mon, Jun 13, 2011 at 8:41 AM, Sasha Dolgy wrote: >> >>

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 wrote: > Hi Aaron, > > The error is being reported on all 4 nodes. I have confirmed (for my > own sanit

Re: odd logs after repair

2011-06-13 Thread Sasha Dolgy
-- > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 13 Jun 2011, at 06:19, Sasha Dolgy wrote: > >> Hi Everyone, >> >> Last week, upgraded all 4 nodes to apache-cassandra-0.8.0 .. no >> issues.  Tr

odd logs after repair

2011-06-12 Thread Sasha Dolgy
/10.128.34.18 from repair because it is on version 0.7 or sooner. You should consider updating this node before running repair again. Maybe it would be nice to have the version of all nodes print in nodetool ring ? I don't think I'm crazy though ... have manually checked all are on 0.8.0 -- S

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

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 wrote: > All, > > I was wondering if there are Cassandra python clients and which one would > be the best to use > > Thanks a lot, > > Carlos >

  1   2   3   >