You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Liu (JIRA)" <ji...@apache.org> on 2013/11/08 20:32:17 UTC
[jira] [Comment Edited] (CASSANDRA-6311) Update
CqlPagingRecordReader to use the latest Cql pagination
[ https://issues.apache.org/jira/browse/CASSANDRA-6311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817603#comment-13817603 ]
Alex Liu edited comment on CASSANDRA-6311 at 11/8/13 7:31 PM:
--------------------------------------------------------------
Use Cassandra Java Driver 2.0 as client lib, create a custom LoadBalancingPolicy which only sticks the load to the host specified during connection creation, so we can take advantage of load locality.
{code}
ProtocolOptions specify the security, compression, port
PoolingOptions specify CoreConnectionsPerHost, MaxConnectionsPerHost,
MaxSimultaneousRequestsPerConnectionThreshold,
MinSimultaneousRequestsPerConnectionThreshold
SocketOptions specify ConnectTimeoutMillis
ReadTimeoutMillis
KeepAlive
ReuseAddress
SoLinger
TcpNoDelay
ReceiveBufferSize
SendBufferSize
QueryOptions specify CL and FetchSize
{code}
use defaultRetryPolicy and defaultReconnectionPolicy unless late we find out we need a custom policy
was (Author: alexliu68):
Use Cassandra Java Driver 2.0 as client lib, create a custom LoadBalancingPolicy which only sticks the load to the host specified during connection creation, so we can take advantage of load locality.
{code}
ProtocolOptions specify the security, compression, port
PoolingOptions specify CoreConnectionsPerHost, MaxConnectionsPerHost,
MaxSimultaneousRequestsPerConnectionThreshold,
MinSimultaneousRequestsPerConnectionThreshold
SocketOptions specify ConnectTimeoutMillis
ReadTimeoutMillis
KeepAlive
ReuseAddress
SoLinger
TcpNoDelay
ReceiveBufferSize
SendBufferSize
QueryOptions specify CL and FetchSize
{code}
> Update CqlPagingRecordReader to use the latest Cql pagination
> -------------------------------------------------------------
>
> Key: CASSANDRA-6311
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6311
> Project: Cassandra
> Issue Type: Improvement
> Components: Hadoop
> Reporter: Alex Liu
> Assignee: Alex Liu
> Fix For: 2.0.3
>
>
> Since the latest Cql pagination is done and it should be more efficient, so we need update CqlPagingRecordReader to use it instead of the custom thrift paging.
--
This message was sent by Atlassian JIRA
(v6.1#6144)