Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12BC81077D for ; Fri, 8 Nov 2013 19:30:18 +0000 (UTC) Received: (qmail 87946 invoked by uid 500); 8 Nov 2013 19:30:18 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 87881 invoked by uid 500); 8 Nov 2013 19:30:17 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 87870 invoked by uid 99); 8 Nov 2013 19:30:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 19:30:17 +0000 Date: Fri, 8 Nov 2013 19:30:17 +0000 (UTC) From: "Alex Liu (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6311) Update CqlPagingRecordReader to use the latest Cql pagination MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817603#comment-13817603 ] Alex Liu commented on CASSANDRA-6311: ------------------------------------- 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)