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

Jonathan Ellis commented on CASSANDRA-1434:
-------------------------------------------

Had a look at 02. Still don't understand your objection to using Multimap -- 
use ListMultimap if you want to preserve ordering.  It's noticeably cleaner 
than Map<X, List<Y>>, and the Guava guys are very careful about performance.

Also, 02 kind of abuses an executor when a map of threads would be clearer as 
to what is going on, while not requiring much more code.  "Send this message" 
is a good task to submit to an executor; "run an infinite loop pulling messages 
off a public queue" is not.

> ColumnFamilyOutputFormat performs blocking writes for large batches
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-1434
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1434
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>             Fix For: 0.7 beta 2
>
>         Attachments: 
> 0001-Switch-away-from-Multimap-and-fix-regression-introdu.patch, 
> 0002-Improve-concurrency-and-add-basic-retries-by-attempt.patch
>
>
> By default, ColumnFamilyOutputFormat batches 
> {{mapreduce.output.columnfamilyoutputformat.batch.threshold}} or 
> {{Long.MAX_VALUE}} mutations, and then performs a blocking write.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to