Re: Replacing thrift calls in Hadoop input-split calculation with Java driver calls.

2014-03-24 Thread Clint Kelly
Hi Shao-Chuan, That sounds like a good idea, thanks for your response. I think I may have missed the e-mail from Tyler that you reference --- I'll go back and look. FWIW the code that I have written so far is here: https://github.com/wibiclint/cassandra2-hadoop2 It is in rough shape now be

Re: Replacing thrift calls in Hadoop input-split calculation with Java driver calls.

2014-03-24 Thread Shao-Chuan Wang
Tyler mentioned that client.describe_ring(myKeyspace); can be replaced by a query of system.peers table which has the ring information. The challenge here is to describe_splits_ex which needs the estimate the number of rows in each sub token range (as you mentioned). >From what I understand and tr

Re: [VOTE] Release Apache Cassandra 1.2.16

2014-03-24 Thread Pavel Yaskevich
+1 On Mon, Mar 24, 2014 at 12:05 PM, Jonathan Ellis wrote: > +1 > > On Mon, Mar 24, 2014 at 12:24 PM, Sylvain Lebresne > wrote: > > I propose the following artifacts for release as 1.2.16. > > > > sha1: 05fcfa2be4eba2cd6daeee62d943f48c45f42668 > > Git: > > > http://git-wip-us.apache.org/repos/

Re: [VOTE] Release Apache Cassandra 1.2.16

2014-03-24 Thread Jonathan Ellis
+1 On Mon, Mar 24, 2014 at 12:24 PM, Sylvain Lebresne wrote: > I propose the following artifacts for release as 1.2.16. > > sha1: 05fcfa2be4eba2cd6daeee62d943f48c45f42668 > Git: > http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.2.16-tentative > Artifacts: > https:/

Replacing thrift calls in Hadoop input-split calculation with Java driver calls.

2014-03-24 Thread Clint Kelly
I just saw this question about thrift in the Hadoop / Cassandra integration in the discussion on the user list about freezing thrift. I have been working on a project to integrate Hadoop 2 and Cassandra 2 and have been trying to move all of the way over to the Java driver and away from thrift. I

Use of Non EQ clause during select

2014-03-24 Thread amit sharma
If two secondary keys indexes are used one with EQ clause and other one with Non EQ clause during select, how Non EQ clause index is used. What part of code to follow in Cassandra code base? I will highly appreciate any guidance.

Re: [VOTE] Release Apache Cassandra 1.2.16

2014-03-24 Thread Brandon Williams
+1 On Mon, Mar 24, 2014 at 12:24 PM, Sylvain Lebresne wrote: > I propose the following artifacts for release as 1.2.16. > > sha1: 05fcfa2be4eba2cd6daeee62d943f48c45f42668 > Git: > > http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.2.16-tentative > Artifacts: > > ht

[VOTE] Release Apache Cassandra 1.2.16

2014-03-24 Thread Sylvain Lebresne
I propose the following artifacts for release as 1.2.16. sha1: 05fcfa2be4eba2cd6daeee62d943f48c45f42668 Git: http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.2.16-tentative Artifacts: https://repository.apache.org/content/repositories/orgapachecassandra-1008/org/apac