gt; Hi,
>
> I secured my C* cluster by having "authenticator:
> org.apache.cassandra.auth.PasswordAuthenticator" in cassandra.yaml. I
> know it secures the CQL native interface running on port 9042 because my
> code uses such interface. Does this also secure the Thrift API inte
Hi,
I secured my C* cluster by having "authenticator:
org.apache.cassandra.auth.PasswordAuthenticator" in cassandra.yaml. I know
it secures the CQL native interface running on port 9042 because my code
uses such interface. Does this also secure the Thrift API interface running
on po
Thrift has been officially frozen for almost two years and unofficially for
longer. Meanwhile, maintaining Thrift support through changes like 8099
has been a substantial investment.
Thus, we are officially deprecating Thrift now and removing support in 4.0,
i.e. Nov 2016 if tick-tock goes as pl
Yes, I realized the way to use CQL.
I checked the way how map data is represented by using cassandra-cli. For
each element in the map, it use the key as part of the column name and
value as the column value. I just cannot insert this by using thrift API
because I already defined a CompositeType
ing depends on the collection. The fact is, updating CQL collection
from thrift is technically possible but it is not recommended in any way. I
strongly advise you to stick to CQL if you want to use CQL collections.
--
Sylvain
>
>
> --
> *From:* Huil
type
?column.value = DataType.map(DataType.ascii,
DataType.decimal).serialize(yourMapGoesHere);
column.timestamp = new Date().getTime();
...
From: Huiliang Zhang
Sent: Friday, June 20, 2014 10:10 PM
To: user@cassandra.apache.org
Subject
org.apache.cassandra.cql3.statements.SelectStatement.handleGroup(SelectStatement.java:1169)
at
org.apache.cassandra.cql3.statements.SelectStatement.processColumnFamily(SelectStatement.java:1076)
...
So the question is how to write map data into cassandra by thrift API.
Appreciated for any help.
Thanks,
Huiliang
Thanks for all your replies. I was thinking to modify YCSB to support
lightweight transactions in order to measure the overhead introduced.
Since YCSB extends thrift api this is the only way to do it. I am not quite
sure how to use CAS but I am now looking at it.
If there is an easier way to
anga...@gmail.com> wrote:
>
>>
>> Hello all,
>>
>> I am running some tests in my cluster and I wanted to try some of the new
>> features of Cassandra like lightweight transactions and Serial Writes.
>> Surprisingly I found out that Serial writes are not supported by the
&
e not supported by the
> Thrift API.
>
They *are* supported by thrift. First, let me remark that both "lightweight
transactions" and "Serial Writes" are 2 names for the same thing. And in
thrift it's supported through the cas() method.
--
Sylvain
> Is there an
luster and I wanted to try some of the new
>> features of Cassandra like lightweight transactions and Serial Writes.
>> Surprisingly I found out that Serial writes are not supported by the
>> Thrift API.
>> Is there any patch available or the only way to support them is thou
On Fri, Mar 14, 2014 at 11:59 AM, Panagiotis Garefalakis wrote:
> I am running some tests in my cluster and I wanted to try some of the new
> features of Cassandra like lightweight transactions and Serial Writes.
> Surprisingly I found out that Serial writes are not supported by the
>
Hello all,
I am running some tests in my cluster and I wanted to try some of the new
features of Cassandra like lightweight transactions and Serial Writes.
Surprisingly I found out that Serial writes are not supported by the Thrift
API.
Is there any patch available or the only way to support them
ssandra client mailing list:
> client-...@cassandra.apache.org.
>
> --
> Sylvain
>
>
> On Tue, Feb 12, 2013 at 4:44 AM, Drew Kutcharian wrote:
> Hey Guys,
>
> Is the new atomic batch feature in Cassandra 1.2 available via the thrift
> API? If so, how can I use it?
>
> -- Drew
>
>
dominique.dev...@thalesgroup.com> wrote:
> Is Cassandra 1.1 Row Level Isolation (a kind of batch-like) related to
> "traditional" batch_mutate or atomic_batch_mutate Thrift API ?
>
> ** **
>
> Thanks for the answer.
>
> ** **
>
> Dominique
>
Is Cassandra 1.1 Row Level Isolation (a kind of batch-like) related to
"traditional" batch_mutate or atomic_batch_mutate Thrift API ?
Thanks for the answer.
Dominique
De : Sylvain Lebresne [mailto:sylv...@datastax.com]
Envoyé : mardi 12 février 2013 10:19
À : user@cassandra.apache
feature in Cassandra 1.2 available via the thrift
> API? If so, how can I use it?
>
> -- Drew
>
>
Hey Guys,
Is the new atomic batch feature in Cassandra 1.2 available via the thrift API?
If so, how can I use it?
-- Drew
Hi,
I know one way is to execute cql query via thrift client to create a
column family having compound primary/composite columns. But is it the only
way?
Looks like i would end up creating own "CQLTranslator/Wrapper" to deal
with compound primary/composite columns!(Or may be something else in n
est version of Thrift (0.7) it seems that older
> versions cannot talk to Cassandra properly.
>
> - Original Message -
> From: "Rafael Almeida"
> To: user@cassandra.apache.org
> Sent: Thursday, August 4, 2011 1:53:20 PM
> Subject: Re: Problems using Thrift AP
Rafael: Try using the latest version of Thrift (0.7) it seems that older
versions cannot talk to Cassandra properly.
- Original Message -
From: "Rafael Almeida"
To: user@cassandra.apache.org
Sent: Thursday, August 4, 2011 1:53:20 PM
Subject: Re: Problems using Thrif
- Original Message -
> From: Konstantin Naryshkin
> To: user@cassandra.apache.org
> Cc:
> Sent: Thursday, August 4, 2011 10:36 AM
> Subject: Re: Problems using Thrift API in C
>
> I have had similar issues when I generated Cassandra for Erlang. It seems
> t
).
- Original Message -
From: "Aleksandrs Saveljevs"
To: user@cassandra.apache.org
Sent: Monday, August 1, 2011 7:41:49 AM
Subject: Re: Problems using Thrift API in C
No, at least not at the default logging level. However, we have solved
the problem by checking out the latest r
for more details).
Because Zabbix is written in C, we are considering using Thrift API
in C, too.
However, we are running into problems trying to get even the basic
code work. Consider the attached source code. This is essentially a
rewrite of the first part of the C++ example
or
> more details). Because Zabbix is written in C, we are considering using
> Thrift API in C, too.
>
> However, we are running into problems trying to get even the basic code
> work. Consider the attached source code. This is essentially a rewrite of
> the first part of the C++ exa
12:29 PM, Aleksandrs Saveljevs wrote:
Dear all,
We are considering using Cassandra for storing gathered data in Zabbix
(see https://support.zabbix.com/browse/ZBXNEXT-844 for more details).
Because Zabbix is written in C, we are considering using Thrift API in
C, too.
However, we are running into
On 07/28/2011 05:29 AM, Aleksandrs Saveljevs wrote:
essentially a rewrite of the first part of the C++ example given at
http://wiki.apache.org/cassandra/ThriftExamples#C.2B-.2B- . If we run
it under strace, we see that it hangs on the call to recv() when
setting keyspace:
$ strace -s 64 ./tes
Dear all,
We are considering using Cassandra for storing gathered data in Zabbix
(see https://support.zabbix.com/browse/ZBXNEXT-844 for more details).
Because Zabbix is written in C, we are considering using Thrift API in
C, too.
However, we are running into problems trying to get even the
Hi, can anyone explain why APIs include multiget, batch_insert,get_range_slice
are removed in Version above 7.0?
and the counter API are accessible via Thrift.
>
> Robert Jackson
>
> From: "Michael Fortin"
> To: user@cassandra.apache.org
> Sent: Saturday, April 23, 2011 2:38:07 PM
> Subject: 0.8.0 thrift api?
>
> Hi,
> Were can I find the thrift api documentation for 0
: Saturday, April 23, 2011 2:38:07 PM
Subject: 0.8.0 thrift api?
Hi,
Were can I find the thrift api documentation for 0.8? What's in the wiki is
only for <=7. I'm especially inserted in the new query and counter api's.
That's accessible via thrift, right?
Thanks,
Mike
The best documentation (imo) for the Thrift API, is the cassandra.thrift
file in the 'interface' subdirectory of the releas. Because cassandra.thrift
is used to generate client bindings, it is always up to date, and usually
well commented. The wiki lags behind, but sometimes will have mo
Hi,
Were can I find the thrift api documentation for 0.8? What's in the wiki is
only for <=7. I'm especially inserted in the new query and counter api's.
That's accessible via thrift, right?
Thanks,
Mike
If you're only interested in accessing data natively, I suggest you
try the "fat client." It brings up a node that participates in
gossip, exposes the StorageProxy API, but does not receive a token and
so does not have storage responsibilities.
StorageService.instance.initClient();
in 0.7 you wi
w Socket("127.0.0.1", 9160);
>>> TSocket transport = new TSocket(socket);
>>> TBinaryProtocol tBinaryProtocol = new TBinaryProtocol(transport);
>>> Client client = new Client(tBinaryProtocol);
>>> System.out.println(client.describe_cluster_name());
>&g
Client(tBinaryProtocol);
>> System.out.println(client.describe_cluster_name());
>>
>> The problem is that it hangs/blocks on the
>> "client.describe_cluster_name()" call, actually it hangs on any call I
>> have tried.
>> I was first trying with t
client = new Client(tBinaryProtocol);
> System.out.println(client.describe_cluster_name());
>
> The problem is that it hangs/blocks on the
> "client.describe_cluster_name()" call, actually it hangs on any call I
> have tried.
> I was first trying with the Pelops client, bu
t = new Client(tBinaryProtocol);
System.out.println(client.describe_cluster_name());
The problem is that it hangs/blocks on the
"client.describe_cluster_name()" call, actually it hangs on any call I
have tried.
I was first trying with the Pelops client, but that one is using the
Thrift API as
On Thu, May 20, 2010 at 22:16, Arya Goudarzi wrote:
>
> P.S. By the way, if someone grants me access, I'd like to contribute to the
> documentaions on Apache Cassandra.
>
I believe anybody can create a wiki account and make changes. Have at it!
Gary.
Hi Fellows,
I just joined this mailing list but I've been on the IRC for a while. Pardon if
this post is a repeat but I would like to share with you some of my experiences
with Cassandra Thrift Interface that comes with the nightly built and probably
0.7. I came across an issue last night that
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 s
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
42 matches
Mail list logo