cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8133) BulkLoader does not use rpc_endpoints
Date Thu, 16 Oct 2014 22:38:34 GMT

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

Mime
View raw message