RE: Can I create a counter column family with many rows in 1.1.10?

2013-03-06 Thread Mateus Ferreira e Freitas
I got it now. From: mateus.ffrei...@hotmail.com To: user@cassandra.apache.org Subject: RE: Can I create a counter column family with many rows in 1.1.10? Date: Wed, 6 Mar 2013 08:42:37 -0300 Ah, I'ts with many columns, not rows. I use this in cql 2-3 create table cnt (key text PRIMAR

RE: Can I create a counter column family with many rows in 1.1.10?

2013-03-06 Thread Mateus Ferreira e Freitas
ed to type in order to create it? From: aa...@thelastpickle.com Subject: Re: Can I create a counter column family with many rows in 1.1.10? Date: Tue, 5 Mar 2013 23:47:38 -0800 To: user@cassandra.apache.org Note that CQL 3 in 1.1 is compatible with CQL 3 in 1.2. Also you do not have to use CQL

Re: Can I create a counter column family with many rows in 1.1.10?

2013-03-06 Thread Alain RODRIGUEZ
, PRIMARY KEY (aid, key1, key2, key3) ) First, when I do so I have no error shown, but I *can't* see this CF appear in my OpsCenter. "update composite_counter set value = value + 5 where aid = '1' and key1 = 'test1' and key2 = 'test2' and key3 = 'test3&

Re: Can I create a counter column family with many rows in 1.1.10?

2013-03-05 Thread Abhijit Chanda
Thanks @aaron for the rectification On Wed, Mar 6, 2013 at 1:17 PM, aaron morton wrote: > Note that CQL 3 in 1.1 is compatible with CQL 3 in 1.2. Also you do not > have to use CQL 3, you can still use the cassandra-cli to create CF's. > > The syntax you use to populate it depends on the client

Re: Can I create a counter column family with many rows in 1.1.10?

2013-03-05 Thread aaron morton
Note that CQL 3 in 1.1 is compatible with CQL 3 in 1.2. Also you do not have to use CQL 3, you can still use the cassandra-cli to create CF's. The syntax you use to populate it depends on the client you are using. Cheers - Aaron Morton Freelance Cassandra Developer New Zeala

Re: Can I create a counter column family with many rows in 1.1.10?

2013-03-05 Thread Abhijit Chanda
Yes you can , you just have to use CQL3 and 1.1.10 onward cassandra supports CQL3. Just you have to aware of the fact that a column family that contains a counter column can only contain counters. In other other words either all the columns of the column family excluding KEY have the counter type

Can I create a counter column family with many rows in 1.1.10?

2013-03-05 Thread Mateus Ferreira e Freitas
And what syntax would be, if it's possible?Thanks.

Re: Running Cassandra 1.1, how can I see the efficiency of the key cache?

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

Re: Running Cassandra 1.1, how can I see the efficiency of the key cache?

2012-12-22 Thread Andrew Bialecki
Thanks, I'll take a look at that too. I also found that "nodetool info" gives some information as well. For instance, here's what one node reads: Key Cache: size 104857584 (bytes), capacity 104857584 (bytes), 15085408 hits, 17336031 requests, 0.870 recent hit rate, 14400 save period in seconds.

RE: Running Cassandra 1.1, how can I see the efficiency of the key cache?

2012-12-22 Thread Wz1975
Jmx has cache hit rate.  Thanks. -Wei Sent from my Samsung smartphone on AT&Tnull

Running Cassandra 1.1, how can I see the efficiency of the key cache?

2012-12-22 Thread Andrew Bialecki
Since it's not in cfstats anymore, is there another way to monitor this? I'm working with a dev cluster and I've got Opscenter set up, so I tried taking a look through that, but it just shows "NO DATA." Does that mean the key cache isn't enabled? I haven't changed the defaults there, so the key ca

Re: can I have a mix of 32 and 64 bit machines in a cluster?

2012-10-10 Thread Mateusz Korniak
On Tuesday 09 of October 2012, Brian Tarbox wrote: > I can't imagine why this would be a problem but I wonder if anyone has > experience with running a mix of 32 and 64 bit nodes in a cluster. We are running mixed userspace 64/32bit (all kernels 64bit) linux 1.0.10 cluster for our daily operatio

Re: can I have a mix of 32 and 64 bit machines in a cluster?

2012-10-09 Thread Edward Capriolo
Java abstracts you from all these problems. One thing to look out for is JVM options do not work across all JVMs. For example if you try to enable https://wikis.oracle.com/display/HotSpotInternals/CompressedOops on a 32bit machine the JVM fails to start. On Tue, Oct 9, 2012 at 1:45 PM, Brian Tarbo

can I have a mix of 32 and 64 bit machines in a cluster?

2012-10-09 Thread Brian Tarbox
I can't imagine why this would be a problem but I wonder if anyone has experience with running a mix of 32 and 64 bit nodes in a cluster. (I'm not going to do this in production, just trying to make use of the gear I have for my local system). Thanks.

can I drop a composite index using cli?

2012-07-20 Thread Feng Qu
Can I drop composite index in CLI? What’s syntax? Or do I have to use cqlsh?     [default@mobilelogks] drop index on MobilePushNotificationLog.retryCount; Column 'retryCount' does not have an index.       [default@mobilelogks] help drop index; drop index on .;   Drops index on specified

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Abhijit Chanda
Sorry for the confusion Tamar. Any ways thanks dear. Regards, Abhijit On Tue, May 15, 2012 at 9:36 PM, Tamar Fraenkel wrote: > Actually woman ;-) > > *Tamar Fraenkel * > Senior Software Engineer, TOK Media > > [image: Inline image 1] > > ta...@tok-media.com > Tel: +972 2 6409736 > Mob: +972

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Tamar Fraenkel
Actually woman ;-) *Tamar Fraenkel * Senior Software Engineer, TOK Media [image: Inline image 1] ta...@tok-media.com Tel: +972 2 6409736 Mob: +972 54 8356490 Fax: +972 2 5612956 On Tue, May 15, 2012 at 3:45 PM, Abhijit Chanda wrote: > Thanks so much Guys, specially Tamar, thank you so

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Abhijit Chanda
Thanks so much Guys, specially Tamar, thank you so much man. Regards, Abhijit On Tue, May 15, 2012 at 4:26 PM, Tamar Fraenkel wrote: > Do you still need the sample code? I use Hector, well here is an example: > *This is the Column Family definition:* > (I have a composite, but if you like you c

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Tamar Fraenkel
Do you still need the sample code? I use Hector, well here is an example: *This is the Column Family definition:* (I have a composite, but if you like you can have only the UTF8Type). CREATE COLUMN FAMILY title_indx with comparator = 'CompositeType(UTF8Type,UUIDType)' and default_validatio

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread samal
You cannot extract via relative column value. It can only extract via value if it has secondary index but exact column value need to match. as tamar suggested you can put value as column "name" , UTF8 comparator. { 'name_abhijit'=>'abhijit' 'name_abhishek'=>'abhiskek' 'name_atul'=>'atul' } here

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread selam
Mapreduce jobs may solve your problem for batch processing On Tue, May 15, 2012 at 12:49 PM, Abhijit Chanda wrote: > Tamar, > > Can you please illustrate little bit with some sample code. It highly > appreciable. > > Thanks, > > > On Tue, May 15, 2012 at 10:48 AM, Tamar Fraenkel wrote: > >> I do

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Abhijit Chanda
Tamar, Can you please illustrate little bit with some sample code. It highly appreciable. Thanks, On Tue, May 15, 2012 at 10:48 AM, Tamar Fraenkel wrote: > I don't think this is possible, the best you can do is prefix, if your > order is alphabetical. For example I have a CF with comparator UTF

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-14 Thread Tamar Fraenkel
I don't think this is possible, the best you can do is prefix, if your order is alphabetical. For example I have a CF with comparator UTF8Type, and then I can do slice query and bring all columns that start with the prefix, and end with the prefix where you replace the last char with the next one i

How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-14 Thread Abhijit Chanda
I don't know the exact value on a column, but I want to do a partial matching to know all available values that matches. I want to do similar kind of operation that LIKE operator in SQL do. Any help is highly appreciated. -- Abhijit Chanda Software Developer VeHere Interactive Pvt. Ltd. +91-97488

Re: Can I use BulkOutputFormat from 1.1 to load data to older Cassandra versions?

2012-01-09 Thread Brandon Williams
om the development version to load data > onto a production cluster which I want to keep on a production version of > Cassandra. Can I do that, or does BulkOutputFormat require an API level that > is only in the development version of Cassandra? Unfortunately BOF wants to stream the o

Can I use BulkOutputFormat from 1.1 to load data to older Cassandra versions?

2012-01-08 Thread Erik Forsberg
ep on a production version of Cassandra. Can I do that, or does BulkOutputFormat require an API level that is only in the development version of Cassandra? Thanks, \EF

Re: Can I slice on composite indexes?

2011-12-21 Thread aaron morton
You can slice the "key1" row to get the columns that have "xyz" as the value for the first component in the column name. Check the docs in your client for how to do that. Hope that helps. - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 21/12/2

Can I slice on composite indexes?

2011-12-20 Thread Maxim Potekhin
Let's say I have rows with composite columns Like ("key1", {('xyz', 'abc'): 'colval1'}, {('xyz', 'def'): 'colval2'}) ("key2", {('ble', 'meh'): 'otherval'}) Is it possible to create a composite type index such that I can query on 'xyz' and get the first two columns? Thanks Maxim

Re: How can I check what the consistency level is?

2011-10-02 Thread aaron morton
If you turn the server logging up to DEBUG you will see what CL the client is sending. Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 1/10/2011, at 3:43 AM, Ikeda Anthony wrote: > We are using 0.8.6 > > > > On 29/09/2011, a

Re: How can I check what the consistency level is?

2011-09-30 Thread Ikeda Anthony
We are using 0.8.6 On 29/09/2011, at 21:19 PM, Jonathan Ellis wrote: > Are you on a current Cassandra release? If not you could be seeing > https://issues.apache.org/jira/browse/CASSANDRA-2870 > > On Thu, Sep 29, 2011 at 7:02 PM, Anthony Ikeda > wrote: >> We seem to be having issues with out

Re: How can I check what the consistency level is?

2011-09-29 Thread Jonathan Ellis
Are you on a current Cassandra release? If not you could be seeing https://issues.apache.org/jira/browse/CASSANDRA-2870 On Thu, Sep 29, 2011 at 7:02 PM, Anthony Ikeda wrote: > We seem to be having issues with out Consistency policies. We have it > configured in Spring using the following: > >    

Re: How can I check what the consistency level is?

2011-09-29 Thread Anthony Ikeda
Well I did a local test by debugging our code and the policy is set to LOCAL_QUORUM. Is there something else I'm missing? More info that would help? Or should I direct this to the hector-users group? Anthony On Thu, Sep 29, 2011 at 5:13 PM, Anthony Ikeda wrote: > RF=3 > > 2 DC's > 3 nodes each

Re: How can I check what the consistency level is?

2011-09-29 Thread Anthony Ikeda
RF=3 2 DC's 3 nodes each On Thu, Sep 29, 2011 at 5:08 PM, Paul Loy wrote: > What is your replication factor? > > > On Thu, Sep 29, 2011 at 5:02 PM, Anthony Ikeda < > anthony.ikeda@gmail.com> wrote: > >> We seem to be having issues with out Consistency policies. We have it >> configured in

Re: How can I check what the consistency level is?

2011-09-29 Thread Paul Loy
What is your replication factor? On Thu, Sep 29, 2011 at 5:02 PM, Anthony Ikeda wrote: > We seem to be having issues with out Consistency policies. We have it > configured in Spring using the following: > > "me.prettyprint.cassandra.model.ConfigurableConsistencyLevel"> > > > > > >

How can I check what the consistency level is?

2011-09-29 Thread Anthony Ikeda
We seem to be having issues with out Consistency policies. We have it configured in Spring using the following: However, in our distributed testing, bringing down a single node will cause the 'May not be enough replicas present to

Re: How can I patch a single issue

2011-08-23 Thread Yi Yang
@Jonathan: I patched CASSANDRA 2530 on this version, and tested it for our financial related case. It really improved a lot on disk consumption, using only 20% of original space for financing-related data storage. The performance is better than MySQL and also it consumes only 1x more than My

Re: How can I patch a single issue

2011-08-23 Thread Yi Yang
Thanks Jonathan, and thanks Peter. How do u guys use the mail list? I'm using a mail client and this e-mail didn't group up until i found it today... On Aug 19, 2011, at 12:27 PM, Jonathan Ellis wrote: > I think this is what you want: > https://github.com/stuhood/cassandra/tree/file-format-and-

Re: How can I patch a single issue

2011-08-19 Thread Jonathan Ellis
I think this is what you want: https://github.com/stuhood/cassandra/tree/file-format-and-promotion On Fri, Aug 19, 2011 at 1:28 PM, Peter Schuller wrote: >> https://issues.apache.org/jira/browse/CASSANDRA-674 >> But when I downloaded the patch file I can't find the correct trunk to >> patch... >

Re: How can I patch a single issue

2011-08-19 Thread Peter Schuller
> https://issues.apache.org/jira/browse/CASSANDRA-674 > But when I downloaded the patch file I can't find the correct trunk to > patch... Check it out from git (or svn) and apply to trunk. I'm not sure whether it still applies cleanly; given the size of the patch I wouldn't be surprised if some re

How can I patch a single issue

2011-08-18 Thread Yi Yang
Hi I'm trying to test a single issue: https://issues.apache.org/jira/browse/CASSANDRA-674 But when I downloaded the patch file I can't find the correct trunk to patch... Anyone can help me with it? Thanks Steve

Re: Can I get all the query data back into memory?

2011-06-09 Thread Mark Kerzner
Thanks a bunch. Mark On Thu, Jun 9, 2011 at 10:26 PM, Jonathan Ellis wrote: > On Thu, Jun 9, 2011 at 9:50 PM, Mark Kerzner > wrote: > > Hi, > > when I am issuing some query, that returns a HashMap, does the whole > HashMap > > have to be in memory? > > Yes. > > > If so, it can easily use up all

Re: Can I get all the query data back into memory?

2011-06-09 Thread Jonathan Ellis
On Thu, Jun 9, 2011 at 9:50 PM, Mark Kerzner wrote: > Hi, > when I am issuing some query, that returns a HashMap, does the whole HashMap > have to be in memory? Yes. > If so, it can easily use up all memory? Is there some > cursor or paging provisions? Yes, that is what all the start_key parame

Can I get all the query data back into memory?

2011-06-09 Thread Mark Kerzner
Hi, when I am issuing some query, that returns a HashMap, does the whole HashMap have to be in memory? If so, it can easily use up all memory? Is there some cursor or paging provisions? Thank you very much. Mark

Re: Can I use secondary index with any partitioner

2011-05-20 Thread Jonathan Ellis
exClause { > 1: required list expressions > 2: required binary start_key, > 3: required i32 count=100, > } > > >  >Yes. > >   On Thu, May 19, 2011 at 7:24 PM, Dave Rav wrote: >   > Can I use secondary index with any partitioner >   > >   > &

Re: Can I use secondary index with any partitioner

2011-05-20 Thread Dave Rav
if I use 'RandomPartitioner' and call 'get_indexed_slices' what  do I do with 'start_key' struct IndexClause { 1: required list expressions 2: required binary start_key, 3: required i32 count=100, }  >Yes.   On Thu, May 19, 2011 at 7:24 P

Re: Can I use secondary index with any partitioner

2011-05-20 Thread Jonathan Ellis
Yes. On Thu, May 19, 2011 at 7:24 PM, Dave Rav wrote: > Can I use secondary index with any partitioner > > > > 1) RandomPartitioner > 2) ByteOrderedPartitioner > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professiona

Can I use secondary index with any partitioner

2011-05-19 Thread Dave Rav
Can I use secondary index with any partitioner   1) RandomPartitioner 2) ByteOrderedPartitioner

Can I count on Super Column Families why planing 3 years out?

2011-02-23 Thread buddhasystem
bator-apache-org.3065146.n2.nabble.com/Can-I-count-on-Super-Column-Families-why-planing-3-years-out-tp6057997p6057997.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: Can I get a range of not deleted rows?

2011-02-22 Thread Norman Maurer
To make it short... No. You can only check if the Row contains at least one Column to understand if its a Tombstone or not.. Bye, Norman 2011/2/22 Joshua Partogi : > Hi there. > > It seems that when I fetch a range of rows, cassandra also includes > rows that has been deleted. Is it possible to

Can I get a range of not deleted rows?

2011-02-22 Thread Joshua Partogi
Hi there. It seems that when I fetch a range of rows, cassandra also includes rows that has been deleted. Is it possible to only get rows that has not been deleted? Thanks for your help. Kind regards, Joshua. -- http://twitter.com/jpartogi

RE: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Vivek Mishra
Absolutly, interestingly Solution based on Lucandra is integrated with Kundera.. From: Shaun Cutts [sh...@cuttshome.net] Sent: 12 February 2011 21:18 To: user@cassandra.apache.org Subject: Re: How can I implement text based searching for the data/entities/items

Re: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Shaun Cutts
There is/are lucandra/solandra: https://github.com/tjake/Lucandra -- Shaun On Feb 12, 2011, at 6:57 AM, Aklin_81 wrote: > I would like to text search for some of Entities/items stored in the > database through an AJAX powered application...Such that the user > starts typing and he can get

RE: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Vivek Mishra
Addtionally you can use cassandra indexes for specific search. From: Vivek Mishra [vivek.mis...@impetus.co.in] Sent: 12 February 2011 17:38 To: user@cassandra.apache.org Subject: RE: How can I implement text based searching for the data/entities/items

RE: How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Vivek Mishra
...@gmail.com] Sent: 12 February 2011 17:27 To: user Subject: How can I implement text based searching for the data/entities/items stored in Cassandra ? I would like to text search for some of Entities/items stored in the database through an AJAX powered application...Such that the user starts

How can I implement text based searching for the data/entities/items stored in Cassandra ?

2011-02-12 Thread Aklin_81
I would like to text search for some of Entities/items stored in the database through an AJAX powered application...Such that the user starts typing and he can get the hints & suggested items. This is implemented in SQL databases using the LIKE, is it possible to anyhow implement this in an applica

Re: How can I correct this Cassandra load imbalance?

2011-01-16 Thread Peter Schuller
> Node 1: > strings/grep/wc: 979,123 > space used: 2,061,497,786 > > Node 2: > strings/grep/wc: 443,558 > space used: 854,213,778 > > Node 3: > strings/grep/wc: 2,103,294 > space used: 4,505,048,405 Was this figured out? Could it be so simple as a compaction discrepancy (did you try running compac

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread ian douglas
Thanks Richard! strings UserGameshareData-*-Index.db | grep ':' | wc -l Node 1: strings/grep/wc: 979,123 space used: 2,061,497,786 Node 2: strings/grep/wc: 443,558 space used: 854,213,778 Node 3: strings/grep/wc: 2,103,294 space used: 4,505,048,405 On 01/06/2011 11:43 AM, Robert Coli wrote:

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread Robert Coli
On Thu, Jan 6, 2011 at 10:50 AM, ian douglas wrote: > Is there any way to determine via a "nodetool cfstats" (or similar) how many > rows we have per column family to help answer your second question a little > better? In 0.6, you can get an (inexact, but probably sufficient for this purpose) est

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread ian douglas
We're currently on 0.6.0 waiting for the full release of 0.7 before we upgrade. We have other Thrift/PHP code to update whenever we upgrade Cassandra, so we don't want to upgrade to a release candidate on our production system. We *did* have a problem with a column family setup where we had fe

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread Peter Schuller
> I posted row sizes (min/max/mean) of our largest data set in my original > message, but had zero responses on the mailing list. The folks in IRC told > me to wait it out, see if to rebalanced on its own (it didn't), or to run a > repair on each node one at a time (didn't help), and that it wasn't

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread ian douglas
Hi Peter, I posted row sizes (min/max/mean) of our largest data set in my original message, but had zero responses on the mailing list. The folks in IRC told me to wait it out, see if to rebalanced on its own (it didn't), or to run a repair on each node one at a time (didn't help), and that it

Re: How can I correct this Cassandra load imbalance?

2011-01-06 Thread Peter Schuller
> I've been lurking in the #cassandra IRC channel lately looking for help on > this, but wanted to try the mailing list as well. Was this resolved off-list, and if so what was the problem? I don't see a problem in your description to explain the imbalance, assuming you don't have extreme variatio

How can I correct this Cassandra load imbalance?

2011-01-03 Thread ian douglas
Hi everyone, I've been lurking in the #cassandra IRC channel lately looking for help on this, but wanted to try the mailing list as well. We have 3 nodes, and last week it was suggested that I run 'nodetool move' to reset our token values on the 3 nodes because they were randomly assigned wh

Re: I have TimeUUID sorted keys. Can I get the range query return rows in the same order as sorted keys?

2010-12-27 Thread Roshan Dawrani
Thanks for the references. I will have a look at them to become familiar with them. But for now, my rather simplistic need is fulfilled by first getting the time-sorted keys from sub-columns and then arranging the result of a multi_get_slice_query in the same order at the app level. For now I don

Re: I have TimeUUID sorted keys. Can I get the range query return rows in the same order as sorted keys?

2010-12-27 Thread Tyler Hobbs
Might as well link to this nice article for any discussions of OPP vs RP: http://ria101.wordpress.com/2010/02/22/cassandra-randompartitioner-vs-orderpreservingpartitioner/ - Tyler On Mon, Dec 27, 2010 at 11:18 AM, Narendra Sharma wrote: > You will need to use OPP to perform range scans. Look f

Re: I have TimeUUID sorted keys. Can I get the range query return rows in the same order as sorted keys?

2010-12-27 Thread Narendra Sharma
You will need to use OPP to perform range scans. Look for Range Queries on http://wiki.apache.org/cassandra/DataModel Look at this to understand why range queries are not supported for RamdomPartitioner (https://issues.apache.org/jira/browse/CASSANDRA-1750) Thanks, Naren On Mon, Dec 27, 2010 at

Re: I have TimeUUID sorted keys. Can I get the range query return rows in the same order as sorted keys?

2010-12-27 Thread Roshan Dawrani
I had seen RangeSlicesQuery, but I didn't notice that I could also give a key range there. How does a KeyRange work? Doesn't it need some sort from the partitioner - whether that is order preserving or not? I couldn't be sure of a query that was based on order of the rows in the column family, so

Re: I have TimeUUID sorted keys. Can I get the range query return rows in the same order as sorted keys?

2010-12-27 Thread Narendra Sharma
Did you look at get_range_slices? Once you get the columns from super column, pick the first and last to form the range and fire the get_range_slice. Thanks, -Naren On Mon, Dec 27, 2010 at 6:12 AM, Roshan Dawrani wrote: > This silly question is retrieved back with apology. There couldn't be > an

Re: I have TimeUUID sorted keys. Can I get the range query return rows in the same order as sorted keys?

2010-12-27 Thread Roshan Dawrani
This silly question is retrieved back with apology. There couldn't be anything easier to handle at the application level. rgds, Roshan On Mon, Dec 27, 2010 at 9:04 AM, Roshan Dawrani wrote: > Hi, > I have the following 2 column families - one being used to store full rows > for an entity and oth

I have TimeUUID sorted keys. Can I get the range query return rows in the same order as sorted keys?

2010-12-26 Thread Roshan Dawrani
Hi, I have the following 2 column families - one being used to store full rows for an entity and other is an index table for having the TimeUUID sorted row keys. I am able to query the TimeUUID columns under the super column fine. But now I need to go to main CF and get the data and I want the row

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

2010-12-08 Thread Aaron Morton
d node, set autobootstrap to true and let it join the cluster. Once it has joined the cluster you should add it as a seed node in the configuration for all of your nodes. On Mon, Dec 6, 2010 at 9:59 AM, lei liu <liulei...@gmail.com> wrote: Thank Jonathan for your reply.How  c

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

2010-12-08 Thread lei liu
t; wrote: >>>>> >>>>>> You will need to restart the nodes for them to pickup changes in >>>>>> cassandra.yaml >>>>>> >>>>>> >>>>>> Aaron >>>>>> >>>>>> >

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

2010-12-07 Thread Jonathan Ellis
0, at 16:32, lei liu wrote: >>>>> >>>>> Thanks Nick. >>>>> >>>>> After I add the new node as seed node in the configuration for all of >>>>> my nodes, do I need to restart all of my nodes? >>>>> >>>&g

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

2010-12-07 Thread Ryan King
On Tue, Dec 7, 2010 at 1:07 PM, Eric Gilmore wrote: > What would comprise a sane and reasonably balanced list? Should there be a > certain proportion of seeds per total nodes? Any other considerations > besides a) list must be identical on all nodes and b) you can't > auto-bootstrap a seed node

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

2010-12-07 Thread Eric Gilmore
;>>> After I add the new node as seed node in the configuration for all of my >>>> nodes, do I need to restart all of my nodes? >>>> >>>> 2010/12/7 Nick Bailey >>>> >>>>> The node can be set as a seed node at any time. It

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

2010-12-07 Thread Jonathan Ellis
configuration for all of my >>> nodes, do I need to restart all of my nodes? >>> >>> 2010/12/7 Nick Bailey >>> >>>> The node can be set as a seed node at any time. It does not need to be a >>>> seed node when it joins the cluster. You should remo

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

2010-12-07 Thread Aaron Morton
in the configuration for all of your nodes. On Mon, Dec 6, 2010 at 9:59 AM, lei liu <liulei...@gmail.com> wrote: Thank Jonathan for your reply.How  can I bootstrap the node into cluster, I know if the node is seed node, I can't set AutoBootstrap to true.2010/12/6 Jonathan El

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

2010-12-07 Thread Ryan King
he node can be set as a seed node at any time. It does not need to be a >>> seed node when it joins the cluster. You should remove it as a seed node, >>> set autobootstrap to true and let it join the cluster. Once it has joined >>> the cluster you should add it as a seed nod

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

2010-12-07 Thread Nick Bailey
it has joined >> the cluster you should add it as a seed node in the configuration for all of >> your nodes. >> >> >> On Mon, Dec 6, 2010 at 9:59 AM, lei liu wrote: >> >>> Thank Jonathan for your reply. >>> >>> How can I bootstrap the node into

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

2010-12-07 Thread aaron morton
seed node in the configuration for all of your > nodes. > > > On Mon, Dec 6, 2010 at 9:59 AM, lei liu wrote: > Thank Jonathan for your reply. > > How can I bootstrap the node into cluster, I know if the node is seed node, > I can't set AutoBootstrap to true

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

2010-12-06 Thread lei liu
t as a seed node, > set autobootstrap to true and let it join the cluster. Once it has joined > the cluster you should add it as a seed node in the configuration for all of > your nodes. > > > On Mon, Dec 6, 2010 at 9:59 AM, lei liu wrote: > >> Thank Jonathan for your repl

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

2010-12-06 Thread Nick Bailey
your nodes. On Mon, Dec 6, 2010 at 9:59 AM, lei liu wrote: > Thank Jonathan for your reply. > > How can I bootstrap the node into cluster, I know if the node is seed > node, I can't set AutoBootstrap to true. > > 2010/12/6 Jonathan Ellis > >> set it as a seed _

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

2010-12-06 Thread lei liu
Thank Jonathan for your reply. How can I bootstrap the node into cluster, I know if the node is seed node, I can't set AutoBootstrap to true. 2010/12/6 Jonathan Ellis > set it as a seed _after_ bootstrapping it into the cluster. > > On Mon, Dec 6, 2010 at t5:01 AM, lei liu wr

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

2010-12-06 Thread Jonathan Ellis
set it as a seed _after_ bootstrapping it into the cluster. On Mon, Dec 6, 2010 at 5:01 AM, lei liu wrote: > After one seed node crash, I want to add one node as seed node, I set > auto_bootstrap to true, but the new node don't migrate data from other > nodes. > > How can I a

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

2010-12-06 Thread lei liu
After one seed node crash, I want to add one node as seed node, I set *auto_bootstrap to true, but the new node don't *migrate data from other nodes. How can I add one new seed node and let the node to * *migrate data from other nodes? Thanks, LiuLei

Re: Re: Re: how can i ran the word count example on windows?

2010-12-02 Thread Bingbing Liu
r 抄送: 主题: Re: Re: how can i ran the word count example on windows? You can install cygwin in order to run mapred job locally on windows On Thu, Dec 2, 2010 at 5:57 AM, Bingbing Liu wrote: hi ,arron ,thanks for your reply i run a single node cassandra instance on linux (IP:10.37.17.231)

Re: Re: how can i ran the word count example on windows?

2010-12-02 Thread CassUser CassUser
ows with seting the host ip > = 10.37.17.231 > > > 2010-12-02 > -- > Bingbing Liu > -- > *发件人:* aaron morton > *发送时间:* 2010-12-02 19:04:13 > *收件人:* user > *抄送:* > *主题:* Re: how can i ran the word count exam

Re: Re: how can i ran the word count example on windows?

2010-12-02 Thread Bingbing Liu
: how can i ran the word count example on windows? chmod is used on linux to change the file permissions. It seems like hadoop links your on linux. What command are you running to get this error ? Aaron On 2 Dec 2010, at 21:03, Bingbing Liu wrote: i use the same configuration in eclispe

Re: how can i ran the word count example on windows?

2010-12-02 Thread aaron morton
(Native Method) > at java.lang.ProcessImpl.(Unknown Source) > at java.lang.ProcessImpl.start(Unknown Source) > ... 17 more > > 2010-12-02 > Bingbing Liu > 发件人: Jeremy Hanna > 发送时间: 2010-12-02 11:13:04 > 收件人: user > 抄送: > 主题: Re: how can i ran the word count exa

Re: Re: how can i ran the word count example on windows?

2010-12-02 Thread Bingbing Liu
ssImpl.start(Unknown Source) ... 17 more 2010-12-02 Bingbing Liu 发件人: Jeremy Hanna 发送时间: 2010-12-02 11:13:04 收件人: user 抄送: 主题: Re: how can i ran the word count example on windows? There isn't currently, but perhaps you could contribute one :). If you take a look at the sh scrip

Re: how can i ran the word count example on windows?

2010-12-01 Thread Jeremy Hanna
There isn't currently, but perhaps you could contribute one :). If you take a look at the sh script in the bin directory of the word count example, it shouldn't be terribly difficult to mimic the behavior. It's mostly just setting up the classpath and executing the Java class with some argumen

how can i ran the word count example on windows?

2010-12-01 Thread Bingbing Liu
i don't know how to set the command line is there a word_count.bat ? like the word_count in the bin on linux? 2010-12-02 Bingbing Liu

Re: How can I get rows in groups?

2010-11-22 Thread aaron morton
the whole keyspace. >>> >>> After that, it makes sense to have a loop, and to use each time a new >>> KeyRange with the largest key returned by the previous iteration as the >>> start_key. However, I don't know what to use as end_key, and Cassandra >>&g

Re: How can I get rows in groups?

2010-11-22 Thread altanis
ole keyspace. >> >> After that, it makes sense to have a loop, and to use each time a new >> KeyRange with the largest key returned by the previous iteration as the >> start_key. However, I don't know what to use as end_key, and Cassandra >> complains that if

Re: How can I get rows in groups?

2010-11-19 Thread Tyler Hobbs
After that, it makes sense to have a loop, and to use each time a new > KeyRange with the largest key returned by the previous iteration as the > start_key. However, I don't know what to use as end_key, and Cassandra > complains that if one of (start_key, end_key) is not null, the oth

How can I get rows in groups?

2010-11-19 Thread altanis
r, I don't know what to use as end_key, and Cassandra complains that if one of (start_key, end_key) is not null, the other can't be either. What can I do? Can I use tokens? I read that a KeyRange with tokens is end-inclusive, and can wrap, so I can just give the local node's token as

Re: Can I retrieve specific key range from a table in RandomPartitioner?

2010-10-01 Thread ilndinesh
I cam through the same problem. I have set the end key same as start key, it worked. (Kinda temp fix...) -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Can-I-retrieve-specific-key-range-from-a-table-in-RandomPartitioner-tp5415347p5591681.html

Re: Can I retrieve specific key range from a table in RandomPartitioner?

2010-08-12 Thread Aaron Morton
at 4:44 PM, ChingShen <chingshenc...@gmail.com> wrote: Hi all,   Can I retrieve specific key range from a table in RandomPartitioner? Because I always got below exception:Exception in thread "main" InvalidRequestException(why:start key's md5 sorts after end key's md5.

Re: Can I retrieve specific key range from a table in RandomPartitioner?

2010-08-12 Thread ChingShen
[1000]); List results = client.get_range_slices(keyspace, parent, predicate, k, ConsistencyLevel.ONE); On Thu, Aug 12, 2010 at 4:44 PM, ChingShen wrote: > Hi all, > >Can I retrieve specific key range from a table in RandomPartitioner? > Because I always got below exception: > Exce

Can I retrieve specific key range from a table in RandomPartitioner?

2010-08-12 Thread ChingShen
Hi all, Can I retrieve specific key range from a table in RandomPartitioner? Because I always got below exception: Exception in thread "main" InvalidRequestException(why:start key's md5 sorts after end key's md5. this is not allowed; you probably should not specify e

<    1   2   3   >