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
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
,
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&
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
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
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
And what syntax would be, if it's possible?Thanks.
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
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.
Jmx has cache hit rate.
Thanks.
-Wei
Sent from my Samsung smartphone on AT&Tnull
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
>
>
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
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
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">
>
>
>
>
>
>
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
@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
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-
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...
>
> 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
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
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
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
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
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
> >
> >
&
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
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
1) RandomPartitioner
2) ByteOrderedPartitioner
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.
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
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
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
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
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
...@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
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
> 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
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:
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
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
> 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
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
> 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
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
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
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
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
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
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
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
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
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
t; wrote:
>>>>>
>>>>>> You will need to restart the nodes for them to pickup changes in
>>>>>> cassandra.yaml
>>>>>>
>>>>>>
>>>>>> Aaron
>>>>>>
>>>>>>
>
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
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
;>>> 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
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
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
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
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
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
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
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 _
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
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
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
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)
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
: 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
(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
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
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
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
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
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
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
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
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
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.
[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
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
101 - 200 of 205 matches
Mail list logo