[
https://issues.apache.org/jira/browse/CASSANDRA-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mck SembWever updated CASSANDRA-2388:
-------------------------------------
Attachment: CASSANDRA-2388.patch
New patch. I think i'm at last happy with it.
getLocations() returns an iterator so client.describe_datacenter() is only
called when necessary.
Rather than provide a list in initialAddress it was possible to use either the
initialAddress OR the endpoint. This gave the benefit in not listing a location
that can't actually be connected to.
The "only use replica from same DC" is an option now in ConfigHelper. By
default it is true.
Again the re-generated Cassandra.java is not included in the patch.
I have tested this on normal jobs, and RF=2 jobs with a node down.
> ColumnFamilyRecordReader fails for a given split because a host is down, even
> if records could reasonably be read from other replica.
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2388
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2388
> Project: Cassandra
> Issue Type: Bug
> Components: Hadoop
> Reporter: Eldon Stegall
> Assignee: Mck SembWever
> Labels: hadoop, inputformat
> Fix For: 0.8.1
>
> Attachments: 0002_On_TException_try_next_split.patch,
> CASSANDRA-2388.patch, CASSANDRA-2388.patch
>
>
> ColumnFamilyRecordReader only tries the first location for a given split. We
> should try multiple locations for a given split.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira