Is it possible to update the column-metadata of a column family definition
programmatically? If yes, can someone please point me to the right classes
to use?
Thanks.
On Thu, Nov 29, 2012 at 3:58 PM, Roshan Dawrani roshandawr...@gmail.comwrote:
Hi,
I have an existing column family
On Tue, Jun 12, 2012 at 8:56 PM, Jayesh Thakrar j_thak...@yahoo.com wrote:
Subscribe
Attempt unsuccessful,
** Was expecting a voice-command in mp3 format **
On Wed, May 23, 2012 at 3:07 PM, aaron morton aa...@thelastpickle.comwrote:
When you say
comparator=BytesType
You are telling cassandra that the column names in the CF's are just
bytes. But when you create the column meta data you are specifying the
column names as strings.
use
Hi,
I use Cassandra 0.8.5 and am suddenly noticing some strange behavior. I run
a create column family command with some column meta-data and it runs
fine, but when I do describe keyspace, it shows me different column names
for those index columns.
a) Here is what I run:
create column family
-2012 4:32 PM, Roshan Dawrani roshandawr...@gmail.com wrote:
Hi,
I use Cassandra 0.8.5 and am suddenly noticing some strange behavior. I
run a create column family command with some column meta-data and it runs
fine, but when I do describe keyspace, it shows me different column names
for those
On Wed, Oct 5, 2011 at 7:42 AM, Jeremiah Jordan
jeremiah.jor...@morningstar.com wrote:
But truncate is still slow, especially if it can't use JNA (windows) as it
snapshots. Depending on how much data you are inserting during your unit
tests, just paging through all the keys and then deleting
This should be quite helpful as a reference. Thanks!
On Mon, Oct 3, 2011 at 9:03 PM, Ed Anuff e...@anuff.com wrote:
I made mention of this during my presentation at the Cassandra Summit
back in July, but we're finally ready to release the source for
Usergrid. This is a mobile platform stack
, Cassandra: Giving each test a clean DB to work
withhttp://roshandawrani.wordpress.com/2011/09/30/grails-cassandra-giving-each-test-a-clean-db-to-work-with/
For
someone in a similar situation, it may present an alternative.
Cheers.
On Fri, Sep 23, 2011 at 1:29 PM, Roshan Dawrani roshandawr
Thanks for sharing your inputs, Edward. Some comments inline below:
On Thu, Sep 22, 2011 at 7:31 PM, Edward Capriolo edlinuxg...@gmail.comwrote:
1) Should should try to dig in an determine why the truncate is slower.
Look for related jira issues on truncation.
I should give it a try. I
Hi,
We recently switched from Cassandra 0.7.2 to 0.8.5 and observing
considerable performance degradation in embedded server's response times
that we use in integration tests.
One thing that we do is that we truncate our app column families after each
integration test so that the next one gets a
On Wed, Sep 14, 2011 at 3:43 PM, Yan Chunlu springri...@gmail.com wrote:
I also found that the format of configuration file cassandra.yaml is
different, are they compatible?
Format of 0.8.5 cassandra.yaml is different from what? You didn't mention
what u r comparing it to.
I recently did
Hi,
I am in the process of upgrading Cassandra to the recently released v0.8.5
and facing an issue.
We had two Cassandra environments - one having 0.7.0 and another 0.7.2. The
upgrade on 0.7.2 has happened smoothly, but on the environment having 0.7.0,
when I make the switch, the DB fails to
remove the row cache files.
On Tue, Sep 13, 2011 at 8:23 AM, Roshan Dawrani roshandawr...@gmail.com
wrote:
Hi,
I am in the process of upgrading Cassandra to the recently released
v0.8.5
and facing an issue.
We had two Cassandra environments - one having 0.7.0 and another 0.7.2.
The
upgrade
On Tue, Sep 13, 2011 at 7:03 PM, Jonathan Ellis jbel...@gmail.com wrote:
Just remove the row cache files.
Thanks a lot. The 0.8.5 Cassandra started just fine after getting rid of
those *KeyCache files.
--
Roshan
Blog: http://roshandawrani.wordpress.com/
Twitter: @roshandawrani
... but... but... what else could it be?
Thanks!
On Sun, Sep 11, 2011 at 10:05 PM, Roshan Dawrani
roshandawr...@gmail.comwrote:
Hi,
Cassandra starts JVM as $JAVA -ea -cp $CLASSPATH
Looks like $JAVA is coming is empty in your case, hence the error exec
-ea not found.
Do you not have java
Hi,
Cassandra starts JVM as $JAVA -ea -cp $CLASSPATH
Looks like $JAVA is coming is empty in your case, hence the error exec -ea
not found.
Do you not have java installed? Please install it and set JAVA_HOME
appropriately and retry.
Cheers.
On Mon, Sep 12, 2011 at 8:23 AM, Hernán Quevedo
Hi,
Looking forward to having 0.8.5 artifacts available from maven repo too.
Cheers.
On Thu, Sep 8, 2011 at 5:45 PM, Sylvain Lebresne sylv...@datastax.comwrote:
The Cassandra team is pleased to announce the release of Apache Cassandra
version 0.8.5.
Cassandra is a highly scalable
On Wed, Sep 7, 2011 at 7:27 PM, Jonathan Ellis jbel...@gmail.com wrote:
No, the load from yaml was only supported for upgrading from 0.6.
You'd need to create the schema programatically instead.
Thanks for confirming. I am now creating my keyspace programmatically, but
running into another
Hi,
Quick check: is there a tentative date for release of Cassandra 0.8.5?
Thanks.
--
Roshan
Blog: http://roshandawrani.wordpress.com/
Twitter: @roshandawrani http://twitter.com/roshandawrani
Skype: roshandawrani
On Wed, Sep 7, 2011 at 9:15 PM, Jeremy Hanna jeremy.hanna1...@gmail.comwrote:
The voting started on Monday and is a 72 hour vote. So if there aren't any
problems that people find, it should be released sometime Thursday (7
September).
Great. Thanks for quick info. Looking forward to it.
Hi,
I have just started the process of upgrading Cassandra from 0.7.2 to 0.8.4,
and I am facing some issues with embedded cassandra that we utilize in our
application.
With 0.7.2, we define our keyspace in cassandra.yaml and use Hector to give
us an embedded cassandra instance loaded with schema
On Thu, Apr 28, 2011 at 9:56 AM, Xaero S xaeros...@gmail.com wrote:
You just need to use the update column family command on the cassandra-cli
and specify the columns and their metadata. To get the metadata of the
columns in the CF, you can do describe keyspace keyspacename. Keep in mind
Hi,
Can someone please tell me how I can drop a built in secondary index on a
column family attribute?
I don't see any direct command to do that in the CLI help.
--
Roshan
Blog: http://roshandawrani.wordpress.com/
Twitter: @roshandawrani http://twitter.com/roshandawrani
Skype: roshandawrani
Hi,
In our Cassandra/Hector environment, we are trying to turn the
auto-discovery of nodes in the ring on. We have created the DB using the
following default in cassandra.yaml
===
# Addresses of hosts that are deemed contact points.
#
On Thu, Apr 21, 2011 at 9:10 PM, Nate McCall n...@datastax.com wrote:
Roshan,
See https://issues.apache.org/jira/browse/CASSANDRA-1777 for more details.
Hi...I am not sure I fully understand the current state of auto-discovery of
nodes.
The impression I am getting looking at the issue
On Thu, Apr 21, 2011 at 9:30 PM, Nate McCall n...@datastax.com wrote:
It will work as long as thrift and gossip are bound to the same
interface. The discovery server in Hector also uses the
CassandraHostConfigurator#getPort for the port in constructing the
host URL.
Can you please elaborate
Hi,
Is there any way I can get multiple unique time UUIDs for the same timestamp
value - I mean, the UUIDs that are same in their time (most significant
bits), but differ in their least significant bits?
The least significant bits added by *
me.prettyprint.cassandra.utils.TimeUUIDUtils* seem to
Hi,
I am in the middle of some load testing on a 1-node Cassandra setup. We are
not on very high loads yet. We have recorded the timings taken up by
mutator.execute() calls and we see this kind of variation during the test
run:
So, 25% of the times, execute() calls come back in 25 milli-seconds,
in the cassandra-env.sh file you
should get timing for the server side, pass in the same arguments for your
client. Align time across the 3 files and plot to see if GC is the cause.
Sridhar
On Thu, Mar 10, 2011 at 9:30 AM, Roshan Dawrani
roshandawr...@gmail.comwrote:
Hi,
I am in the middle of some
?
As documentation of indexes is quite sparse, we're grateful for any working
example.
Cheers
Jürgen
Am 04.03.2011 19:27, schrieb Roshan Dawrani:
On Fri, Mar 4, 2011 at 11:52 PM, Jürgen Link
juergen.l...@googlemail.comwrote:
Hi Jonathan,
as Roland is already out of office, I'd like to jump
On Sun, Mar 6, 2011 at 4:54 PM, Roshan Dawrani roshandawr...@gmail.comwrote:
--
keyspaces:
- name: firstname
validator_class: UTF8Type
On Fri, Mar 4, 2011 at 11:52 PM, Jürgen Link juergen.l...@googlemail.comwrote:
Hi Jonathan,
as Roland is already out of office, I'd like to jump in.
Maybe this somehow got lost in the moddle of this thread, indexing works
fine in our real cassandra cluster.
For our test cases, we use an
On Wed, Feb 23, 2011 at 7:17 PM, Ching-Cheng Chen cc...@evidentsoftware.com
wrote:
Actually, if you want to get ALL keys, I believe you can still use
RangeSliceQuery with RP.
Just use setKeys(,) as first batch call.
Then use the last key from previous batch as startKey for next batch.
Yes. But I don't think the retrieving keys in the right order was part of
the original question. :-)
On Wed, Feb 23, 2011 at 7:50 PM, Norman Maurer nor...@apache.org wrote:
yes but be aware that the keys will not in the right order.
Bye,
Norman
2011/2/23 Roshan Dawrani roshandawr
On Thu, Feb 24, 2011 at 6:54 AM, Joshua Partogi joshua.j...@gmail.comwrote:
I am sorry for not making it clear in my original
post that what I am looking for is the list of keys in the database
assuming that the client application does not know the keys. From what
I understand,
Does it help:
https://github.com/rantav/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/model/RangeSlicesQueryTest.java
https://github.com/rantav/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/model/RangeSlicesQueryTest.javaIt
uses setReturnKeysOnly()...
Same for
Hi,
Is it ok to update / insert into multiple column families (some regular,
some related super column families) using in one batch?
I earlier had a few separates mutator.execute() calls hitting these CFs, but
I am trying to merge them into a bigger batch.
The issue I am facing is that the
consumption as you go.
On Thu, Feb 17, 2011 at 2:11 PM, Roshan Dawrani roshandawr...@gmail.com
wrote:
Hi,
Is it ok to update / insert into multiple column families (some regular,
some related super column families) using in one batch?
I earlier had a few separates mutator.execute() calls
That's because in createIndexedSlicesQuery(), you have used SS as the
valueSerializer, and then in addGtExpression(birth_date, 1970L), you pass
a long as the value.
@see:
https://groups.google.com/group/hector-users/browse_thread/thread/520c5332dedfca4a
2011/2/17 Raoyixuan (Shandy)
:
The method addGtEqualEpression(String,Long) in the type
IndexedSlicesQueryString,String,Long is not applicable for the
arguments(String,String)
*From:* Roshan Dawrani [mailto:roshandawr...@gmail.com]
*Sent:* Thursday, February 17, 2011 10:37 AM
*To:* user@cassandra.apache.org
*Subject:* Re
:* Roshan Dawrani [mailto:roshandawr...@gmail.com]
*Sent:* Thursday, February 17, 2011 10:48 AM
*To:* user@cassandra.apache.org
*Subject:* Re: indexedslicesQuery class error
addGtEqual???
You are still making the same mistake.
You are now saying that your values are going to be long
I think that was originally a voice command - for whoever happened to hear
it first :-)
On Fri, Feb 4, 2011 at 9:57 AM, buddhasystem potek...@bnl.gov wrote:
Dude, are you asking me to unsubscribe?
--
View this message in context:
:-)
On Wed, Feb 2, 2011 at 10:14 PM, Sasha Dolgy sdo...@gmail.com wrote:
Silly me. On windows it has to be changed in
$CASSANDRA_HOME/bin/cassandra.bat
On Wed, Feb 2, 2011 at 5:39 PM, Sasha Dolgy sdo...@gmail.com wrote:
An instance of Cassandra starts and is listening on the ports
Please do keep this discussion on the mailing list and not take it offline.
:-)
I will be in the same boat very soon, I think.
It will be great to hear from people who have already gone down this road
and used Cassandra as a session store in a clustered environment.
On Tue, Feb 1, 2011 at 10:56
HelloNo India-based Cassandra / NoSQL events? :-( :-)
On Sat, Jan 29, 2011 at 8:31 AM, Jonathan Ellis jbel...@gmail.com wrote:
Next week is the Strata conference and not one, not two, but five
Cassandra events!
In chronological order:
1. My Strata Cassandra tutorial Tuesday afternoon:
2011/1/25 Wangpei (Peter) peter.wang...@huawei.com
for your 1-node cluster, ANY is the only consistency level that client
may returns BEFORE node write to memory table.
And read op on the node read both the memory table and SSTable.
It real puzzle me. :(
Please don't be puzzled just
No, checking the key will not do.
You will need to check if row.getColumnSlice().getColumns() is empty or not.
That's what I do and it works for me.
On Wed, Jan 26, 2011 at 4:53 AM, Nick Santini nick.sant...@kaseya.comwrote:
thanks,
so I need to check the returned slice for the key to verify
Hi,
I have a basic question - maybe silly too.
Say, I have a 1-node Cassandra setup (no replication, eventual consistency,
etc) and I do an insert into a column family and then very close in time to
the insert, I do a read on it for the same data.
Is there a possibility that my read operation
of Cassandra : the data is inserted and
ready to use immediately after it has been received by the node.
Best Regards,
Victor Kabdebon
http://www.voxnucleus.fr
2011/1/24 Roshan Dawrani roshandawr...@gmail.com
Hi,
I have a basic question - maybe silly too.
Say, I have a 1-node Cassandra setup
On Tue, Jan 25, 2011 at 9:32 AM, Victor Kabdebon
victor.kabde...@gmail.comwrote:
Roshan, just remember, what you do on a one node cluster might not be valid
on a 5 node cluster. Depending on the way your insert and query (QUORUM,
ALL, ... ) your data might not be available to get, yet it will
On Tue, Jan 25, 2011 at 9:57 AM, Victor Kabdebon
victor.kabde...@gmail.comwrote:
As far as I remember, please correct me if I am wrong, on a one node
cluster :
First Commitlog is updated then almost immediatly after order is send to
the memtable to add this new insert. You might have a very
2011/1/25 Wangpei (Peter) peter.wang...@huawei.com
What is the ConsistencyLevel value? Is it ConsistencyLevel.ANY?
I am using Hector 0.7.0-22 and getting keyspace as *
HFactory.createKeyspace()*, which seems to be defaulting the consistency
level to QUORAM for both reads and writes.
Nowhere
Hi,
I am using Cassandra for a Grails application and in that I start the
embedded server when the Spring application context gets built.
When I run my Grails app test suite - it first runs the integration and then
functional test suite and it builds the application text individually for
each
On Fri, Jan 21, 2011 at 3:02 AM, Aaron Morton aa...@thelastpickle.comwrote:
Do you have a full error stack?
That error is raised when the schema is added to an internal static map.
There is a lot of static state so it's probably going to make your life
easier if you can avoid reusing the
On Fri, Jan 21, 2011 at 5:14 AM, Anand Somani meatfor...@gmail.com wrote:
Here is what worked for me, I use testNg, and initialize and createschema
in the @BeforeClass for each test
- In the @AfterClass, I had to drop schema, otherwise I was getting the
same exception.
- After this
On Fri, Jan 21, 2011 at 8:07 AM, Aaron Morton aa...@thelastpickle.comwrote:
There is a truncate() function that will clear a CF. It may leave a
snapshot around, cannot remember exactly.
Or you could drop and recreate the keyspace between tests using
system_add_keyspace() and
On Fri, Jan 21, 2011 at 8:07 AM, Aaron Morton aa...@thelastpickle.comwrote:
There is a truncate() function that will clear a CF. It may leave a
snapshot around, cannot remember exactly.
Not sure if Hector (0.7.0-22) has added truncate() to its API yet. I can't
find it.
In Hector, I see a
On Fri, Jan 21, 2011 at 8:52 AM, Maxim Potekhin potek...@bnl.gov wrote:
You can script the actions you need and pipe the file into Cassandra-CLI.
Works for me.
Thanks Maxim, but first preference will be to do it through the API and not
launch the Cassandra-CLI process with a scripted set of
On Fri, Jan 21, 2011 at 8:56 AM, Roshan Dawrani roshandawr...@gmail.comwrote:
On Fri, Jan 21, 2011 at 8:52 AM, Maxim Potekhin potek...@bnl.gov wrote:
You can script the actions you need and pipe the file into Cassandra-CLI.
Works for me.
Probably CliMain / CliClient will help me
tell how I can truncate my column families in my Hector based
environment? Does it expose a thrift Cassandra.Client somewhere so I can
make calls that its API does not cover yet?
Thanks.
On Fri, Jan 21, 2011 at 9:12 AM, Roshan Dawrani roshandawr...@gmail.comwrote:
On Fri, Jan 21, 2011 at 8:56 AM
)
}
=
Thanks to everyone who shared their inputs.
--
Roshan
Blog: http://roshandawrani.wordpress.com/
Twitter: @roshandawrani http://twitter.com/roshandawrani
Skype: roshandawrani
On Fri, Jan 21, 2011 at 10:35 AM, Roshan Dawrani roshandawr...@gmail.comwrote:
Back to square one on using
It's possible that I am misunderstanding the question in some way.
The row keys can be Time UUIDs and with those row keys as column names, u
can use comparator TIMEUUIDTYPE to have them sorted by time automatically.
On Fri, Jan 14, 2011 at 9:18 AM, Aaron Morton aa...@thelastpickle.comwrote:
On Fri, Jan 14, 2011 at 7:15 PM, Aklin_81 asdk...@gmail.com wrote:
@Roshan
Yes, I thought about that, but then I wouldn't be able to use the
Random Partitioner.
Can you please expand a bit on this? What is this restriction? Can you point
me to some relevant documentation on this?
Thanks.
I am not clear what you guys are trying to do and say :-)
So, let's take some specifics...
Say you want to create rows in some column family (say CF_A), and as you
create them, you want to store their row key in column names in some other
column family (say CF_B) - possibly for filtering keys
On Wed, Jan 12, 2011 at 7:41 AM, Koert Kuipers
koert.kuip...@diamondnotch.com wrote:
Ok I see get_range_slice is really only useful for paging with RP...
So if I were using OPP (which I am not) and I wanted all keys starting with
com.google, what should my start_key and end_key be?
I think
The thread here may help:
http://www.mail-archive.com/user@cassandra.apache.org/msg08393.html
On Fri, Jan 7, 2011 at 6:27 PM, Arijit Mukherjee ariji...@gmail.com wrote:
Hi
I'm using the piece of code given in the FAQ
(http://wiki.apache.org/cassandra/FAQ#working_with_timeuuid_in_java)
to
On Fri, Jan 7, 2011 at 12:12 PM, Arijit Mukherjee ariji...@gmail.comwrote:
Thank you. And is it similar if I want to search a subcolumn within a
given supercolumn? I mean I have the supercolumn key and the subcolumn
key - can I fetch the particular subcolumn?
Can you share a small piece of
Hi Patricio,
Thanks for your comment. Replying inline.
2011/1/5 Patricio Echagüe patric...@gmail.com
Roshan, just a comment in your solution. The time returned is not a simple
long. It also contains some bits indicating the version.
I don't think so. The version bits from the most
Hi Patricio,
Some thoughts inline.
2011/1/6 Patricio Echagüe patric...@gmail.com
Roshan, the first 64 bits does contain the version. The method
UUID.timestamp() indeed takes it out before returning. You are right in that
point. I based my comment on the UUID spec.
I know 64 bits have the
that together and you have your uuid.
.
So unless you save your random number two UUID for the same milli( or
micro) second are different.
Best regards,
Victor K.
http://www.voxnucleus.fr
2011/1/4 Roshan Dawrani roshandawr...@gmail.com
Hi,
I am having a little difficulty converting
suggestion on how I can achieve the equivalent using Hector library's
TimeUUIDUtils?
On Wed, Jan 5, 2011 at 7:21 AM, Roshan Dawrani roshandawr...@gmail.comwrote:
Hi Victor / Patricio,
I have been using Hector library's TimeUUIDUtils. I also just looked at
TimeUUIDUtilsTest also but didn't find anything
);
}
}
On Wed, Jan 5, 2011 at 8:15 AM, Roshan Dawrani roshandawr...@gmail.comwrote:
If I use *com.eaio.uuid.UUID* directly, then I am able to do what I need
(attached a Java program for the same), but unfortunately I need
Hi,
I am currently having a locally installed Cassandra server running for some
development work.
When I try to bring up Tomcat, it fails saying
===
2010-12-31 05:36:52,088 [main] ERROR http11.Http11Protocol - Error
Hi,
Is it correct that mutations that delete subcolumns of a super column can't
be batched - unlike inserts and deletes of normal columns?
If yes, could someone share why that is so?
Thanks.
--
Roshan
Blog: http://roshandawrani.wordpress.com/
Twitter: @roshandawrani
74 matches
Mail list logo