You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/10/17 00:38:34 UTC
[jira] [Commented] (CASSANDRA-8133) BulkLoader does not use
rpc_endpoints
[ https://issues.apache.org/jira/browse/CASSANDRA-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174378#comment-14174378 ]
Brandon Williams commented on CASSANDRA-8133:
---------------------------------------------
bq. sstableloader appears to stream to listen_addresses instead of rpc_addresses
It needs to, though. It's streaming sstables straight into Cassandra, not sending rpc writes. listen_address can't bind multiple interfaces, so it's the only possible choice.
> BulkLoader does not use rpc_endpoints
> -------------------------------------
>
> Key: CASSANDRA-8133
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8133
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Umair Mufti
> Labels: lhf
> Attachments: 0001-BulkLoader-with-rpc_endpoints.patch
>
>
> sstableloader appears to stream to listen_addresses instead of rpc_addresses. This causes sstableloader to fail when streaming to nodes which bind to multiple interfaces.
>
> The problem seems to stem from BulkLoader populating the endpointToRanges map with incorrect values. BulkLoader always uses the TokenRange's endpoints list.
>
> Attached is a patch which uses the rpc_endpoints list of the TokenRange if it exists. Otherwise, it uses the standard endpoints list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)