Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 37584 invoked from network); 10 Sep 2010 21:51:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Sep 2010 21:51:57 -0000 Received: (qmail 69739 invoked by uid 500); 10 Sep 2010 21:51:57 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 69721 invoked by uid 500); 10 Sep 2010 21:51:56 -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 69713 invoked by uid 99); 10 Sep 2010 21:51:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 21:51:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 21:51:56 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8ALpZE4013087 for ; Fri, 10 Sep 2010 21:51:35 GMT Message-ID: <13670936.127431284155495482.JavaMail.jira@thor> Date: Fri, 10 Sep 2010 17:51:35 -0400 (EDT) From: "Nick Bailey (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1489) Expose progress made on PendingStreams through JMX In-Reply-To: <9592279.102801284064714429.JavaMail.jira@thor> 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-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Bailey updated CASSANDRA-1489: ----------------------------------- Attachment: 0001-Progress-added-to-incoming-streams.patch 0002-Progess-added-to-outgoing-streams.patch 0003-Moved-FileStreamTask-to-streaming.patch I think this pretty much accomplishes what you want. The output is similar to: {noformat} Receiving from: Sending to: 127.0.0.1: /var/folders/Jf/JfRRRNwbE68TqmlnMrMc+3OrLLI/-Tmp-/Keyspace14260283256390104155Standard1/Keyspace1/Standard1-e-0-Data.db/[(0,143), (289,435)] progress=289/289 /var/folders/Jf/JfRRRNwbE68TqmlnMrMc+3OrLLI/-Tmp-/Keyspace14260283256390104155Standard1/Keyspace1/Standard1-e-0-Data.db/[(0,143), (289,435)] progress=289/289 {noformat} > Expose progress made on PendingStreams through JMX > -------------------------------------------------- > > Key: CASSANDRA-1489 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1489 > Project: Cassandra > Issue Type: New Feature > Components: Tools > Reporter: paul cannon > Priority: Minor > Fix For: 0.7.0 > > Attachments: 0001-Progress-added-to-incoming-streams.patch, 0002-Progess-added-to-outgoing-streams.patch, 0003-Moved-FileStreamTask-to-streaming.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > So I thought originally that the pairs of numbers shown after filenames returned from org.apache.cassandra.service:type=StreamingService's getOutgoingFiles/getIncomingFiles calls were (octetsSent, totalSizeInOctets). Now I know that they are ranges, and that there can be several of them with one file, and that makes sense, but there doesn't seem to be any way to query the progress made on a PendingFile stream. > We would very much like to be able to inspect that from the outside, in whatever way makes sense. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.