(Moving this migration related question out of dev mailing list, and
changed a title a bit)

Thanks Tyler,

If describe_splits is not feasible through native protocol, then how do we
migrate

org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat

to use native protocol? Do we have any plans that migrate the code in
org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat into native
protocol as well? I tried to migrate those code in
org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat to use datastax
driver 2.0 but encountered several issues.

Shao-Chuan

On Tue, Mar 11, 2014 at 12:59 PM, Tyler Hobbs <ty...@datastax.com> wrote:

>
> On Tue, Mar 11, 2014 at 2:41 PM, Shao-Chuan Wang <
> shaochuan.w...@bloomreach.com> wrote:
>
>>
>> So, does anyone know how to do "describing the splits" and "describing
>> the local rings" using native protocol?
>>
>
> For a ring description, you would do something like "select peer, tokens
> from system.peers".  I'm not sure about describe_splits().
>
>
>>
>> Also, cqlsh uses python client, which is talking via thrift protocol too.
>> Does it mean that it will be migrated to native protocol soon as well?
>>
>
> Yes: https://issues.apache.org/jira/browse/CASSANDRA-6307
>
>
> --
> Tyler Hobbs
> DataStax <http://datastax.com/>
>

Reply via email to