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 EB34810E4E for ; Mon, 17 Jun 2013 14:39:24 +0000 (UTC) Received: (qmail 32747 invoked by uid 500); 17 Jun 2013 14:39:24 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 32515 invoked by uid 500); 17 Jun 2013 14:39:23 -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 31954 invoked by uid 99); 17 Jun 2013 14:39:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 14:39:23 +0000 Date: Mon, 17 Jun 2013 14:39:22 +0000 (UTC) From: "Yuki Morishita (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5286) Streaming 2.0 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-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685622#comment-13685622 ] Yuki Morishita commented on CASSANDRA-5286: ------------------------------------------- Pushed update to: https://github.com/yukim/cassandra/commits/5286-2 Doc is updated too: https://gist.github.com/yukim/5672508 Changes: * API revised. Basically, you build your [stream plan|https://github.com/yukim/cassandra/blob/5286-2/src/java/org/apache/cassandra/streaming/StreamPlan.java], execute it, and get [future result of the streaming|https://github.com/yukim/cassandra/blob/5286-2/src/java/org/apache/cassandra/streaming/StreamResultFuture.java]. * Migrated all stream operation to new API including nodetool. Bulkloader is not working because of CASSANDRA-5542 though. Repair works with new API, but we should refactor after CASSANDRA-5426. * Versioned streaming protocol Still not implemented(but things we can do in separate tickets IMHO): * JMX notification * Stream different version of SSTable > Streaming 2.0 > ------------- > > Key: CASSANDRA-5286 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5286 > Project: Cassandra > Issue Type: Improvement > Reporter: Yuki Morishita > Labels: streaming > Fix For: 2.0 > > > 2.0 is the good time to redesign streaming API including protocol to make streaming more performant and reliable. > Design goals that come up in my mind: > *Better performance* > - Protocol optimization > - Stream multiple files in parallel (CASSANDRA-4663) > - Persistent connection (CASSANDRA-4660) > *Better control* > - Cleaner API for error handling > - Integrate both IN/OUT streams into one session, so the components(bootstrap, move, bulkload, repair...) that use streaming can manage them easily. > *Better reporting* > - Better logging/tracing > - More metrics > - Progress reporting API for external client -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira