[ 
https://issues.apache.org/jira/browse/CASSANDRA-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754344#comment-13754344
 ] 

Dave Brosius commented on CASSANDRA-4757:
-----------------------------------------

+        double rxPercentage = (totalRxBytes == 0 ? 100L : currentRxBytes * 
100L / totalRxBytes);
+        double txPercentage = (totalTxBytes == 0 ? 100L : currentTxBytes * 
100L / totalTxBytes);

generates integer based percentages and stores them as doubles. Is this what 
was desired?
                
> Expose bulk loading progress/status over jmx
> --------------------------------------------
>
>                 Key: CASSANDRA-4757
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4757
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Nick Bailey
>            Assignee: Greg DeAngelis
>            Priority: Minor
>              Labels: lhf
>             Fix For: 2.0
>
>         Attachments: CASSANDRA-4757.txt, CASSANDRA-4757v2.txt
>
>
> The bulk loading interface should be exposing some progress or status 
> information over jmx. This shouldn't be too difficult and should be exposed 
> in a way that the information is available whether you are using the separate 
> sstableloader utility or calling the bulkload jmx call.

--
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

Reply via email to