thx
se with most things regarding Cassandra, the off-the-cuff assumptions
> only get you so far before you have to do some math and do some tests.
>
> As I mentioned in my talk, for simple uses cases like this, you probably
> should just start with the built in secondary indexes, but I assume
Yes, this is what I am worrying about.
2011/8/24 Ryan King
> On Tue, Aug 23, 2011 at 10:03 AM, Alvin UW wrote:
> > Hello,
> >
> > As mentioned by Ed Anuff in his blog and slides, one way to build
> customized
> > secondary index is:
> > We use one CF, eac
into
> multiple rows, bit of a pain thought. I'd wait and see, or crunch some
> numbers before hand.
>
> Cheers
>
> -
> Aaron Morton
> Freelance Cassandra Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 24/08/2011, at 5:03 AM, Alv
Hello,
As mentioned by Ed Anuff in his blog and slides, one way to build customized
secondary index is:
We use one CF, each row to represent a secondary index, with the secondary
index name as row key.
For example,
Indexes = {
"User_Keys_By_Last_Name" : {
"adams" : "e5d61f2b-…",
"alden" : "e80a17
localhost <
> ~/code/github/datastax/cassandra-tutorial/npanxx_script.txt
>
> And ran
> mvn -e exec:java -Dexec.args="get"
> -Dexec.mainClass="com.datastax.tutorial.TutorialRunner"
>
> Which outputted
> HColumn(city=Austin)
>
> Hope that helps.
>
Hello,
I'd like to try the cassandra tutorial example:
https://github.com/zznate/cassandra-tutorial
by following the readme.
After typing mvn -e exec:java -Dexec.args="get"
-Dexec.mainClass="com.datastax.tutorial.TutorialRunner"
I got the following errors.
Should I do something before the above
mponents to them. That is what start.addCompo and end.addCompo...
> means. For more information please refer to
> https://issues.apache.org/jira/browse/CASSANDRA-2231
>
> For you question, I think replace "abc" with "bob" should do the trick.
>
> On Wed, Aug
Hello,
can anyone give an explanation of
start.addComponent("abc", StringSerializer.get()) ;
end.addComponent("abc", StringSerializer.get(), "UTF8Type",
AbstractComposite.ComponentEquality.GREATER_THAN_EQUAL) ;
Suppose my composite column names are like ("bob", 1982), ("bob", 1976).
There are m
ge -
> From: "Norman Maurer"
> To: user@cassandra.apache.org
> Sent: Monday, August 8, 2011 6:30:59 AM
> Subject: Re: How to release a customised Cassandra from Eclipse?
>
> Its
>
> ant artifacts
>
>
> Bye
> Norman
>
> 2011/8/7, Alvin
cassandra.utils.obs
The common error info is "The declared package "org.apache.cassandra.xxx"
does not match the expected package
"java.org.apache.cassandra.xxx"
Alvin
2011/8/8 Jake Luciani
> you can simply run:
>
> ant generate-eclipse-files
>
> then import
Hello,
I am trying to Setup Cassandra0.8 in Eclipse following
http://wiki.apache.org/cassandra/RunningCassandraInEclipse
After right clicking on the build.xml -> "Run As" -> "Ant Build".
Error appeared as follows:
Buildfile: /workspace/Cassandra0.8/build.xml
maven-ant-tasks-localrepo:
maven-ant-t
st dir.
>
> cheers
>
> -
> Aaron Morton
> Freelance Cassandra Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 7 Aug 2011, at 03:58, Alvin UW wrote:
>
>
> Thanks.
>
> I am a beginner.
> I checked bin folder under myCassandra.
;
>
> On Sat, Aug 6, 2011 at 10:43 AM, Alvin UW wrote:
> > Hello,
> >
> > I set up a Cassandra project in Eclipse following
> > http://wiki.apache.org/cassandra/RunningCassandraInEclipse
> > Then, I made a few modifications on it to form a customised Cassandra
Hello,
I set up a Cassandra project in Eclipse following
http://wiki.apache.org/cassandra/RunningCassandraInEclipse
Then, I made a few modifications on it to form a customised Cassandra.
But I don't know how can I release this new Cassandra from Eclipse as a jar
file to use in EC2.
I tried "ant r
> On Mon, Mar 7, 2011 at 10:55 AM, Alvin UW wrote:
> > Thanks.
> >
> > Does Cassandra store secondary index with an extra CF?
> >
> > 2011/3/7 Jonathan Ellis
> >>
> >> Yes, this is guaranteed the same way single-row updates are guaranteed
> &g
Hello,
I was wondering whether Secondary Index is consistent with its base table?
How did you guarantee the consistency?
Thanks
Alvin
same time stamp the greater value when compared by
> bytes will be used. Ken in this case.
>
> If you app has sections that are highly concurrent try to design them away,
> or use a locking mechanism outside of casandra, or use another DB.
>
> Hope that helps.
> Aaron
>
&g
Yes, the same timestamp
2010/12/10 Ryan King
> On Fri, Dec 10, 2010 at 12:49 PM, Alvin UW wrote:
> > Hello,
> >
> >
> > I got a consistency problem in Cassandra.
> >
> > Given a column family with a record:Id Name
> >
Hello,
I got a consistency problem in Cassandra.
Given a column family with a record:Id Name
1David
There are three backups for this column family.
Assume there are two write operation happens issued by the same application
by t
Hello,
Before 0.7, actually we can create an extra ColumnFamily as an secondary
index, if we need.
I was wondering whether the secondary index mechanism in 0.7 just likes
creating an extra ColumnFamily as an index.
The difference is only that users don't take care of the maintainence of the
secon
Why the secondary index is not updated absolutely atomically?
2010/9/2 Jonathan Ellis
> yes, it is updated atomically (but not in isolation, it's possible for
> a client to see changes to one but not the other temporarily)
>
> On Thu, Sep 2, 2010 at 1:47 PM, Alvin Jin wrote:
> >
> > Hello,
> >
Hello,
1.Does the current index support Super CF?
2. Does the system treat the index as the same as a common CF?
If not, what's the main difference between index and common CF?
Thanks
Alvin
s to do the
> "join" you describe seems like overkill to me...
>
> -Paul
>
> On Sep 15, 2010, at 7:34 PM, Alvin UW wrote:
>
> Hello,
>
> I am going to build an index to join two CFs.
> First, we see this index as a CF/SCF. The difference is I don't materia
Hello,
I am going to build an index to join two CFs.
First, we see this index as a CF/SCF. The difference is I don't materialise
it.
Assume we have two tables:
ID_Address(*Id*, address) , Name_ID(*name*, id)
Then,the index is: Name_Address(*name*, address)
When the application tries to query on
Hello,
I am going to build an index to join two CFs.
First, we see this index as a CF/SCF. The difference is I don't materialise
it.
Assume we have two tables:
ID_Address(*Id*, address) , Name_ID(*name*, id)
Then,the index is: Name_Address(*name*, address)
When the application tries to query on
Thanks.
But why does this situation happen?
I mean "but not in isolation".
Can we avoid it?
2010/9/2 Jonathan Ellis
> yes, it is updated atomically (but not in isolation, it's possible for
> a client to see changes to one but not the other temporarily)
>
> On Thu, Sep 2, 2010 at 1:47 PM, Alvin J
27 matches
Mail list logo