[ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164574#comment-13164574 ]
Derek McGowan commented on CASSANDRA-3214: ------------------------------------------ There is a second bug in getSubSplits as well, since it is iterating on rpc_endpoints but not checking whether those endpoints are 0.0.0.0 before trying to establish a connection. Cassandra.Client client = ConfigHelper.createConnection(host, ConfigHelper.getRpcPort(conf), true); Host in this case could be 0.0.0.0, this call is being made before the other check. > Make CFIF use rpc_endpoint prior to trying endpoint > --------------------------------------------------- > > Key: CASSANDRA-3214 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3214 > Project: Cassandra > Issue Type: Improvement > Components: Hadoop > Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / > Reporter: Eldon Stegall > Assignee: Eldon Stegall > Priority: Minor > Fix For: 0.8.8, 1.0.1 > > Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt, > CASSANDRA-3214.patch > > > Following up on CASSANDRA-3187 , we probably need to attempt to use the > rpc_endpoint address first, and then fall back to the gossip endpoint if we > don't get what we want. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira