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 E8AD4119D6 for ; Wed, 20 Aug 2014 21:29:27 +0000 (UTC) Received: (qmail 27804 invoked by uid 500); 20 Aug 2014 21:29:27 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 27775 invoked by uid 500); 20 Aug 2014 21:29:27 -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 27635 invoked by uid 99); 20 Aug 2014 21:29:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 21:29:27 +0000 Date: Wed, 20 Aug 2014 21:29:27 +0000 (UTC) From: "Mikhail Stepura (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7789) cqlsh COPY Command should display progress MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7789?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Stepura updated CASSANDRA-7789: --------------------------------------- Attachment: CASSANDRA-2.1-7789.patch I'm attaching a patch which print a progress for COPY operations * Number of rows copied * Avg. read speed (rows/s) * Avg. write speed (rows/s) > cqlsh COPY Command should display progress > ------------------------------------------ > > Key: CASSANDRA-7789 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7789 > Project: Cassandra > Issue Type: Improvement > Reporter: Micha=C3=ABl Figui=C3=A8re > Assignee: Mikhail Stepura > Priority: Minor > Labels: cqlsh > Fix For: 2.1.1 > > Attachments: CASSANDRA-2.1-7789.patch > > > While CASSANDRA-7405 is on its way to make the {{COPY}} command much fast= er, it's still likely to hang for many minutes when transferring a large am= ount of data.=20 > This gives the feeling to the newcomers that something went wrong. Even i= f the user expect cqlsh to hang for a long moment, it's not very convenient= as you have no idea of when the copy will be complete. > I believe it would be very pleasant if the {{COPY}} command could display= an in-place progress output while it's executed with probably: > * Rows copied > * avg Rows/s > * CSV File R/W MB > * avg CSV File R/W MB/s -- This message was sent by Atlassian JIRA (v6.2#6252)