Re: [BETA RELEASE] Apache Cassandra 1.1.0-beta2 released

2012-04-02 Thread Ben McCann
Cool. Thanks. That should be easy enough to fix :-) On Mon, Apr 2, 2012 at 8:05 AM, Sylvain Lebresne wrote: > There's an open issue for that: > https://issues.apache.org/jira/browse/CASSANDRA-3676 > Patch welcome :) > > -- > Sylvain > > On Sat, Mar 31, 2012

Re: Compression on client side vs server side

2012-04-02 Thread Ben McCann
> > greetings, martin > > Am 02.04.2012 17:42, schrieb Ben McCann: > > Hi, >> >> I was curious if I compress my data on the client side with Snappy >> whether there's any difference between doing that and doing it on the >> server side? The wiki

Compression on client side vs server side

2012-04-02 Thread Ben McCann
Hi, I was curious if I compress my data on the client side with Snappy whether there's any difference between doing that and doing it on the server side? The wiki said that compression works best where each row has the same columns. Does this mean the compression will be more efficient on the se

Re: Is the wiki outdated regarding Hive support?

2012-04-01 Thread Ben McCann
nk asap. > > Jake > > > > On Apr 1, 2012, at 6:39 PM, Ben McCann wrote: > > The wiki <http://wiki.apache.org/cassandra/HadoopSupport> says "Hive > support is currently a standalone project but will become part of the main > Cassandra source tree in the future. See h

Is the wiki outdated regarding Hive support?

2012-04-01 Thread Ben McCann
The wiki says "Hive support is currently a standalone project but will become part of the main Cassandra source tree in the future. See https://github.com/riptano/hivefor details." This seems outdated to me since Datastax isn't planning any future u

Re: [BETA RELEASE] Apache Cassandra 1.1.0-beta2 released

2012-03-31 Thread Ben McCann
Ok, got that figured out. That was my fault. Though I'd suggest deleting that method instead of having it be a no-op. The missing Maven deps still seem like a bug though. On Sat, Mar 31, 2012 at 12:26 PM, Ben McCann wrote: > Also, I had to add the Yammer metrics dependency to get th

Re: [BETA RELEASE] Apache Cassandra 1.1.0-beta2 released

2012-03-31 Thread Ben McCann
t it is ignored: /** * @deprecated, ignored */ public KsDef setReplication_factor(int replication_factor) { So, it seems odd that SimpleStrategy is requiring that I set a deprecated and ignored field. Perhaps this is a bug as well? Thanks, Ben On Sat, Mar 31, 2012 at 11:55 AM, Be

Re: [BETA RELEASE] Apache Cassandra 1.1.0-beta2 released

2012-03-31 Thread Ben McCann
I'm trying to upgrade Solandra to use 1.1.0-beta2 and think I found a minor issue: java.lang.NoClassDefFoundError: edu/stanford/ppl/concurrent/SnapTreeMap at org.apache.cassandra.db.AtomicSortedColumns$Holder.(AtomicSortedColumns.java:296) Looks like this dependency is missing from cassandra-all-1

Re: create column family

2012-03-30 Thread Ben McCann
I think the confusion here is that cassandra-cli and cqlsh have different syntaxes. On Fri, Mar 30, 2012 at 4:37 PM, aaron morton wrote: > Background: > http://www.datastax.com/docs/1.0/references/cql/CREATE_COLUMNFAMILY > > What error are you getting ? This works for me. > > cqlsh> use dev; > c

Re: cassandra gui

2012-03-30 Thread Ben McCann
If you want a REST interface and a GUI then Virgil may be interesting. I just came across it and haven't tried it myself yet. http://brianoneill.blogspot.com/2011/10/virgil-gui-and-rest-layer-for-cassandra.html On Fri, Mar 30, 2012 at 2:15 PM, John Liberty wrote: > I made some updates to a ca

Re: How to store a list of values?

2012-03-28 Thread Ben McCann
siteColumn it does, but it looked to me in your > example you just used the simple utf8-based solution. My apologies for the > confusion. > > > 2012/3/28 Ben McCann > >> Hmm. I thought that Cassandra would encode the composite column without >> the colon and that it

Re: How to store a list of values?

2012-03-28 Thread Ben McCann
columns with as start value "skill:". > > A suggestion to your example might be to use a ~ in stead of : as > separator. A tilde is used less often in standard sentences, so you could > replace any of them in skills with some other character (e.g. a dash or > whitespace).

Re: How to store a list of values?

2012-03-27 Thread Ben McCann
I was given one other suggestion (which may have been suggested earlier in this thread, but is clearer to me with an example). The suggestion was to use composite columns and have the first part of the key name be "skill" and the second part be the specific skill and then store a null value. I ho

Re: Error in FAQ?

2012-03-26 Thread Ben McCann
uot;connect > localhost/9160;"). > > When you have to create your first keyspace type: "create keyspace > MyKeyspace;" > > For modifying an existing keyspace type: "use MyKeyspace;" > > If you need more information you can just type "help;" &g

Re: How to store a list of values?

2012-03-26 Thread Ben McCann
n this case you only neem the columns for values. You don't need the > column-values to hold multiple columns (the super-column principle). So a > normal CF would work. > > > 2012/3/26 Ben McCann > >> Thanks for the reply Samal. I did not realize that you coul

Re: How to store a list of values?

2012-03-26 Thread Ben McCann
be added or removed. >> >> UserProfile={ >> '*ben*'={ >>blah :blah >>blah :blah >>blah :blah >> } >> } >> >> UserSkill={ >> '*ben*'={ >> 'java':'' >> &#x

How to store a list of values?

2012-03-26 Thread Ben McCann
I have a profile column family and want to store a list of skills in each profile. In BigTable I could store a Protocol Bufferwith a repeated field, but I'm not sure how this is typically accomplished in Cassandra. One option would b

Re: Error in FAQ?

2012-03-25 Thread Ben McCann
Hmmm, I don't see anything regarding column families in cassandra.yaml. It seems like the answer for that question in the FAQ is very outdated. On Sun, Mar 25, 2012 at 4:04 PM, Serge Fonville wrote: > Hi, > > 2012/3/26 Ben McCann : > > There's a line that says "

Error in FAQ?

2012-03-25 Thread Ben McCann
There's a line that says "Make necessary changes to your storage-conf.xml." I can't find this file. Does it still exist? If so, where should I look? I installed the packaged version of Cassandra available in the Datastax community edition.