Ran-
Is it possible to make perf4j optional? I can include it in the grails
plugin if not.
On Sun, Mar 14, 2010 at 12:08 PM, Ned Wolpert wrote:
> Sure, I'll create a bug for it on github. But basically if you get a client
> from a pool of servers with one server (["localhost:9160"]) and make a
Im sorry Jonathan. I didn't know it was the cli, I thought the problem was
with cassandra.bat becouse it doesn't show the output: Starting up server...
Instead, it shows: Starting up server gossip...
But the problem was in the cassandra-cli.bat.
The nice new is that know we know that we have to m
Your time on IRC would have been a lot more productive if you had
mentioned that bin\cassandra was working fine and you were stuck on
the cli. :(
On Mon, Mar 15, 2010 at 11:41 PM, Jesus Ibanez wrote:
> To run Cassandra on Windows, after executing bin\cassandra without problems,
> we need to inser
To run Cassandra on Windows, after executing bin\cassandra without problems,
we need to insert the line if NOT DEFINED CASSANDRA_HOME set
CASSANDRA_HOME=%CD% into the cassandra-cli.bat file before we execute it.
That line is missing in cassandra-cli.bat, so add it and Cassandra will
execute perfect
I've just pushed a rough but useful chef cookbook for Cassandra:
http://github.com/b/cookbooks/tree/master/cassandra
It is lacking in documentation and assumes you have a Cassandra
package handy to install. I'd really appreciate if folks could try it
out and give feed back (or, even better, patch
hello Juan,
this is the C++ code with super-column I'm using. I hope it will be useful :
#include "Cassandra.h"
#include
#include
#include
#include
//#include
#include
#include
#include
#include
#include
using namespace std;
using namespace ::apache::thrift;
using namespace ::apache::
http://download.nextag.com/apache/incubator/cassandra/0.5.1/apache-cassandra-0.5.1-bin.tar.gz
works, the mirroring system takes a bit.
-M
On Mon, Mar 15, 2010 at 1:29 PM, Joseph Stein wrote:
> so i just moved to a new dev machine and went to download 0.5.1
>
> was excited to see when googling "
On Mon, 15 Mar 2010 16:45:49 -0400 Jake Luciani wrote:
JL> On Mar 15, 2010, at 4:41 PM, Ted Zlatanov wrote:
>> Can there be any assurance that if I specify a Deletion and an
>> insertion for a specific SuperColumn in the same batch_mutate() call,
>> they will happen atomically?
JL> Timestamps
Ok, I'll check out libcassandra in a while.
I've been able to insert values with this:
new_col.__isset.super_column = true;
new_col.__isset.column = true; /* this is required! */
new_col.column_family.assign("Anonimos");
new_col.super_column.assign("Tag");
new_col.column.a
You can find version 0.03 of the Net::Cassandra::Easy Perl module at:
http://search.cpan.org/search?query=cassandra+easy&mode=all
(it may show 0.021 but that's the same as 0.03, I just uploaded with the
incorrect version number accidentally)
The docs explain how to use it with examples for the c
In that case you should do the insert first, then the delete in a
separate mutation (with, presumably, an older timestamp).
2010/3/15 Ted Zlatanov :
> Can there be any assurance that if I specify a Deletion and an insertion
> for a specific SuperColumn in the same batch_mutate() call, they will
>
Timestamps.
On Mar 15, 2010, at 4:41 PM, Ted Zlatanov wrote:
Can there be any assurance that if I specify a Deletion and an
insertion
for a specific SuperColumn in the same batch_mutate() call, they will
happen atomically?
In other words I want to make sure readers don't get a missing value
Can there be any assurance that if I specify a Deletion and an insertion
for a specific SuperColumn in the same batch_mutate() call, they will
happen atomically?
In other words I want to make sure readers don't get a missing value for
that SuperColumn if their read should occur after the Deletion
you're still not setting isset on column_family.
you need both isset and assign on each value you're sending.
maybe you should use http://github.com/posulliv/libcassandra ?
On Mon, Mar 15, 2010 at 3:29 PM, Juan Manuel Garcia del Moral
wrote:
> Ok,
>
> Now I've changed to:
>
> ColumnPath new
Sorry I was testing wrong, the values are there:
cassandra> get SocialAds.Anonimos['1']['Tag'];
=> (column=300, value=200, timestamp=12345678)
Thank you so much for your help.
2010/3/15 Juan Manuel Garcia del Moral
> Ok,
>
> Now I've changed to:
>
> ColumnPath new_col;
> new_col.__i
so i just moved to a new dev machine and went to download 0.5.1
was excited to see when googling "cassandra" coming up #1 (under the
top level site now)
but upset when EVERY mirror I tried came up 404 error not found =8^(
http://cassandra.apache.org/
try to download 0.5.1, no luck ... not sure
Ok,
Now I've changed to:
ColumnPath new_col;
new_col.__isset.super_column = true;
new_col.__isset.column = true; /* this is required! */
new_col.column_family.assign("Anonimos");
new_col.super_column.assign("Tag");
new_col.column.assign("300");
client.insert("Soc
Ah, thrift is letting you set something to be null, that shouldn't be
legal. This is fixed in 0.6 svn, btw.
it looks like you are setting new_col.__isset.column to true, but not
actually assigning it a value.
On Mon, Mar 15, 2010 at 3:14 PM, Juan Manuel Garcia del Moral
wrote:
> This is what th
This is what the log says:
ERROR [pool-1-thread-8] 2010-03-15 15:54:06,753 Cassandra.java (line 1482)
Internal error processing insert
java.lang.AssertionError: QueryPath(columnFamilyName='Anonimos',
superColumnName='[...@d0357a', columnName='null')
at
org.apache.cassandra.db.ColumnFamily.
check the server log for exception. and if you are not on 0.5.1 or
0.6 svn branch, upgrade.
On Mon, Mar 15, 2010 at 12:47 PM, Juan Manuel Garcia del Moral
wrote:
> Many thanks!
>
> That seems to be useful,
>
> But now I'm getting
> The error message: "Internal error processing insert"
>
> I'm n
Many thanks!
That seems to be useful,
But now I'm getting
The error message: "Internal error processing insert"
I'm not sure if I'm setting the timestamp properly
2010/3/15 Padraig O'Sullivan
> You need to manually set the __isset fields when using the thift API
> in C++. Since you are try
OK I will try to separate them out.
On Sat, Mar 13, 2010 at 5:35 AM, Jonathan Ellis wrote:
> You should submit your minor change to jira for others who might want to
> try it.
>
> On Sat, Mar 13, 2010 at 3:18 AM, Weijun Li wrote:
> > Tried Sylvain's feature in 0.6 beta2 (need minor change) and
You need to manually set the __isset fields when using the thift API
in C++. Since you are trying to insert a super column, you need to set
the super_column __isset field.
So this:
new_col.__isset.column = true;
should become:
new_col.__isset.super_column = true;
-Padraig
On Mon, Mar 15, 2010
The changes to FBUtilities.java is quite simple (just add one method). You
can search the ExpiringColumn in our mailing list and found that one to
which Sylvain attached 3 patches for branch 0.5.0. That's where I started
and the patch worked successfully.
-Weijun
On Sun, Mar 14, 2010 at 6:29 AM,
Hello
I'm trying to add values using supercolumns but I get this error
ERROR: supercolumn parameter is not optional for super CF Anonimos
This is my code
// **
ColumnPath new_col;
new_col.__isset.column = true; /* this is required! */
new_col.column_family.assign("Anonimos"
On Mon, Mar 15, 2010 at 9:10 AM, Juan Manuel Garcia del Moral
wrote:
> Dear sirs
>
> I'm wondering if any of you had the chance to implement Cassandra client
> funtions in a program, using the c++ thrift api...
>
> I really appreciate any example, or code snippet, or something.
There is a C++ wra
This is fixed in 0.6 svn branch
On Mon, Mar 15, 2010 at 3:46 AM, Jesus Ibanez wrote:
> Hi, I can't run Cassandra on Windows 7. After executing bin\cassandra -f, it
> gets freez with the output:
> INFO - Starting up server gossip
>
> And when I excecute bin\cassandra-cli -host localhost, the outpu
Dear sirs
I'm wondering if any of you had the chance to implement Cassandra client
funtions in a program, using the c++ thrift api...
I really appreciate any example, or code snippet, or something.
Thanks
Juan
Hi, I can't run Cassandra on Windows 7. After executing bin\cassandra -f, it
gets freez with the output:
INFO - Starting up server gossip
And when I excecute bin\cassandra-cli -host localhost, the output is:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/cassandra/cli/Cli
29 matches
Mail list logo