[
https://issues.apache.org/jira/browse/CASSANDRA-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909528#action_12909528
]
Nirmal Ranganathan commented on CASSANDRA-1489:
-----------------------------------------------
Just some minor additions would be nice:
* PendingFile.toString() - could print getFilename() + "/" + sections + "
progress + "/" + size + " - " + progress*100/size + "% completed". This is the
message that appears in JMX for streamStatus.
* Add that info to logging in FileStreamTask too for bytes transferred.
* Change getIncomingFiles and getOutgoingFiles in StreamIn/OutSession to a Set
if adding the pending file and activeStreams to it. The List duplicates those
values as the active stream is contained in the pendingFiles too.
> 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
> Affects Versions: 0.7.0
> Reporter: paul cannon
> Assignee: Nick Bailey
> 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.