The book is a bit out dated now.
You should better to use cassandra-cli to define your application schema.
Please refer to conf/schema-sample.txt and help in cassandra-cli.
% cassandra-cli
[default@unknown] help;
[default@unknown] help create keyspace;
[default@unknown] help create column family;
Thanks Maki.
If you came across with any other book supporting latest Cassandara
versions, pls let me know.
On Thu, Sep 22, 2011 at 12:03 PM, Maki Watanabe watanabe.m...@gmail.comwrote:
The book is a bit out dated now.
You should better to use cassandra-cli to define your application schema.
You have a chance to write it by your own. I'll buy one :-)
maki
2011/9/22 Sajith Kariyawasam saj...@gmail.com:
Thanks Maki.
If you came across with any other book supporting latest Cassandara
versions, pls let me know.
On Thu, Sep 22, 2011 at 12:03 PM, Maki Watanabe watanabe.m...@gmail.com
Hi Aaron
Thanks for the reply
I should hhave mentionned that all current nodes are running 0.8.4.
All current and future services have 2TB disks of which i have allocated
only half. I don't expect any issues here. Should I?
Le 22 sept. 2011 01:26, aaron morton aa...@thelastpickle.com a écrit :
I think the cassandra team did not re-implement their own GC. I guess what
they meant is the less heap being used, the better GC performance.
AFAIK, only data that is not been updated frequently can benefit from
off-heap row cache, because when a row is modified, the row inside cache
need be
It's in the yaml file…
# directories where Cassandra should store data on disk.
data_file_directories:
- /var/lib/cassandra/data
The permissions are normally cassandra:cassandra
Cheers
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
I was wondering if it is possible to use similar way as
CASSANDRA-2894https://issues.apache.org/jira/browse/CASSANDRA-2894
to
have the slice_predict support the offset concept? With the offset, it would
be much easier to implement the paging from the client side.
Boris
On Mon, Sep 19, 2011 at
Cassandra uses Thrift 6 for now (a ticket is open for upgrading to Thrift 7
(https://issues.apache.org/jira/browse/CASSANDRA-3213), I refer you to
the discussion there). That being said I don't know what is the story of Thrift
for having a client and server of different versions, but I suspect
On 09/22/2011 01:25 AM, aaron morton wrote:
*snip*
When you start a repair it will repair will the other nodes it
replicates data with. So you only need to run it every RF nodes. Start
it one one, watch the logs to see who it talks to and then start it on
the first node it does not talk to.
Dne 21.9.2011 20:01, Jonathan Ellis napsal(a):
Means Cassandra couldn't create an empty file in the data directory
designating a sstable as compacted. I'd look for permissions
problems.
Short term there is no dire consequence, although it will keep
re-compacting that sstable. Longer term
I need tool which is able to dump tables via JDBC into JSON format for
cassandra import. I am pretty sure that somebody already wrote that.
Are there tools which can do direct JDBC - cassandra import?
This is pretty up to date
http://www.packtpub.com/cassandra-apache-high-performance-cookbook/book
A
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
On 22/09/2011, at 7:07 PM, Maki Watanabe wrote:
You have a chance to write it by your own.
I'm a bit confused about what you are trying to do.
Are you trying to install thrift on windows ? Best I can to do help is point
you to the readme file, or this
http://wiki.apache.org/thrift/ThriftInstallationWin32
You may get more help on the thrift email list.
You not need to install
the new nodes will have 1TB of data disk, but how much data will you put on
them?
A
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
On 22/09/2011, at 7:23 PM, Philippe wrote:
Hi Aaron
Thanks for the reply
I should hhave mentionned
2011/9/22 Jonas Borgström jo...@borgstrom.se:
On 09/22/2011 01:25 AM, aaron morton wrote:
*snip*
When you start a repair it will repair will the other nodes it
replicates data with. So you only need to run it every RF nodes. Start
it one one, watch the logs to see who it talks to and then
The current load on the nodes is around 300g.
Le 22 sept. 2011 11:08, aaron morton aa...@thelastpickle.com a écrit :
the new nodes will have 1TB of data disk, but how much data will you put
on them?
A
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
Thanks Aaron
On Thu, Sep 22, 2011 at 2:37 PM, aaron morton aa...@thelastpickle.comwrote:
This is pretty up to date
http://www.packtpub.com/cassandra-apache-high-performance-cookbook/book
A
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
Hi,
I'm trying without success to enable JNA for Cassandra on Windows.
Tried to place JNA 3.3.0 libs jna.jar and platform.jar into Cassandra 0.8.6
lib dir, but getting in log:
Unable to link C library. Native methods will be disabled.
What is missed or what is wrong?
One thing I've found on
Our RF is 2 and we are planning to keep that. Thanks for addressing the
decommissioning puzzle. That is where I could not find any doc.
Hiren
From: aaron morton [mailto:aa...@thelastpickle.com]
Sent: Wednesday, September 21, 2011 6:01 PM
To: user@cassandra.apache.org
Subject: Re: Cassandra
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 Thu, Sep 22, 2011 at 9:27 AM, Roshan Dawrani roshandawr...@gmail.comwrote:
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
I took a snapshot of one of my node in a cluster 0.7.4(N=RF=3). use
sstableloader to load the snapshot data to another 1 node cluster(N=RF=1).
after execute bin/sstableloader /disk2/mykeyspace/
it saysStarting client (and waiting 30 seconds for gossip) ...
Streaming revelant part of
Thank you guys. I don't think have permission issue or out of space.
might be ulimit set to low(1024), we will change ulimit -Hn and unlimit
-Sn to see if that could solve the problem.
Daning
On 09/22/2011 01:12 AM, aaron morton wrote:
It's in the yaml file…
# directories where Cassandra
Thanks Sylvain / Aaron!
Can you tell me how to join the Thrift mailing list?
Thanks,
Suman.
On Thu, Sep 22, 2011 at 2:37 PM, aaron morton aa...@thelastpickle.comwrote:
I'm a bit confused about what you are trying to do.
Are you trying to install thrift on windows ? Best I can to do help is
We are testing Cassandra with pretty big load, I saw frequent GCs in the
log, Do you have suggestion about how to reduce them?
NFO [ScheduledTasks:1] 2011-09-22 09:38:41,080 GCInspector.java (line
122) GC for ParNew: 297 ms for 1 collections, 2503106624 used; max is
8015314944
INFO
We are trying to carry out same stuff, but instead of migrating into JSON,
we are exporting into CSV and than importing CSV into Cassandra. Which DB
are you currently using?
Thanks,
Nehal Mehta.
2011/9/22 Radim Kolar h...@sendmail.cz
I need tool which is able to dump tables via JDBC into JSON
Take a look at http://www.datastax.com/dev/blog/bulk-loading
I'm sure there is a way to make it more seamless for what you want to do and it
could be built on, but the recent bulk loading additions will provide the best
foundation.
On Sep 22, 2011, at 12:25 PM, Nehal Mehta wrote:
We are
I just started decommissioning one of the nodes. It is streaming data to other
nodes in the data center, though, which seems waste of time because all the
nodes will be going away. Wouldn't it be better to just bring cassandra down on
these nodes? And then run removetoken or change the topology
Dne 22.9.2011 19:25, Nehal Mehta napsal(a):
We are trying to carry out same stuff, but instead of migrating into
JSON, we are exporting into CSV and than importing CSV into Cassandra.
You are right CSV seems to be more portable
Which DB are you currently using?
Postgresql and Apache Derby.
Did you check for errors in logs on both loader + target?
On Thu, Sep 22, 2011 at 10:52 AM, Yan Chunlu springri...@gmail.com wrote:
I took a snapshot of one of my node in a cluster 0.7.4(N=RF=3). use
sstableloader to load the snapshot data to another 1 node cluster(N=RF=1).
after execute
All,
I find myself considering storing serialized python dicts in Cassandra. I'd
like to store fairly complex, nested dicts, and it's just easier to do this
rather than work out a lot of super columns / columns etc.
Do others find themselves storing serialized data structures in Cassandra
or
We are testing Cassandra with pretty big load, I saw frequent GCs in the
log, Do you have suggestion about how to reduce them?
Do you have any actual problem that you are observing?
Frequent young-generation GC:s (ParNew) are expected. If you want to
cut down on the length of them you may want
On Thu, Sep 22, 2011 at 11:28 AM, Ian Danforth idanfo...@numenta.com wrote:
All,
I find myself considering storing serialized python dicts in Cassandra. I'd
like to store fairly complex, nested dicts, and it's just easier to do this
rather than work out a lot of super columns / columns etc.
+1
On Wed, Sep 21, 2011 at 4:39 PM, Colin Taylor colin.tay...@gmail.com wrote:
+1 (non binding but lgtm)
On Wed, Sep 21, 2011 at 2:27 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
Hi,
I'd like to release version 0.8.6-1 of Mojo's Cassandra Maven Plugin
to sync up with the
Hi,
I started do modeling my application over cassandra data model. I will have
to use composite Super columns name, i.e. username:userid, i know that is
a lot of different ways to deal with this case, but once i have modeled with
composite Super Columns name is there any way to make a sarch over
Thanks Peter. I saw cpu was shooting much higher. I am not sure if
frequent GCs are caused by improperly sized generations. I'd like to get
some tunning tips, or good document about Cassandra tuning.
Daning
On 09/22/2011 12:23 PM, Peter Schuller wrote:
We are testing Cassandra with pretty
One thing you can do is search over the range from username: to username;.
username: is the first possible string starting with username:. username;
is the first possible sting after all of the stings that start with username:
. This works because ; is the character right after : in ASCII. I
On Thu, Sep 22, 2011 at 3:50 PM, Aaron Turner synfina...@gmail.com wrote:
On Thu, Sep 22, 2011 at 11:28 AM, Ian Danforth idanfo...@numenta.com
wrote:
All,
I find myself considering storing serialized python dicts in Cassandra.
I'd
like to store fairly complex, nested dicts, and it's
in 1.0.0 we don't have memtable_throughput for each individual CF ,
and instead
which memtable/CF to flush is determined by largest
getTotalMemtableLiveSize() .
(MeteredFlusher.java line 81)
what would happen in the following case ? : I have only 2 CF, the
traffic for one CF is 1000 times that
Hi Ramdin,
I have cleaned up my code that imports CSV into Cassandra and I have put it
open on https://github.com/nehalmehta/CSV2Cassandra. Have a look if it is
useful to you.
I have used Hector instead of sstableloader. For me it was necessary to have
consistency level of EACH_QUORUM.
Thanks,
I noticed that on the 0.8 branch the implementation of
MessagingService.sendOneWay is building up a DataOutputBuffer with a default
size of 128 bytes, but then sending it as the full buffer no matter how many
bytes the the data takes. I believe it should be calling
Offsets have been discussed in previously. IIRC the main concerns were either:
There is no way to reliably count to start the offset, i.e. we do not lock the
row
Or performance related in, as there is not a reliable way to skip 10,000
columns other than counting 10,000 columns. With a start
http://thrift.apache.org/mailing/
Cheers
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
On 23/09/2011, at 4:50 AM, Suman Ghosh wrote:
Thanks Sylvain / Aaron!
Can you tell me how to join the Thrift mailing list?
Thanks,
Suman.
Our RF is 2
Are you using the SimpleStrategy or the NetworkTopologyStrategy ? I assumed NTS
in a multi DC setup.
I think I sent before my brain caught up before.
I was thinking that if you had an NTS setup like [ {DC1 : 3}, {DC2: 3},
{DC3:3}] you would change it to
[ {DC1 :3}, {DC2:3},
sorry I did not look into it after check it I found version mismatch
exception is in the log:
ERROR [Thread-17] 2011-09-22 08:24:24,248 AbstractCassandraDaemon.java (line
139) Fatal exception in thread Thread[Thread-17,5,main]
java.lang.RuntimeException: Cannot recover SSTable
thanks for the input.
if that's the case, I think the solution would be to sort the CFs to
flush by a more complex criteria than just size. for example the
number of dirty commit logs that contain this CF should be considered
as a score.
Yang
On Thu, Sep 22, 2011 at 10:40 PM, Philippe
46 matches
Mail list logo