You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robbie Strickland (JIRA)" <ji...@apache.org> on 2014/05/16 21:44:15 UTC

[jira] [Created] (CASSANDRA-7252) RingCache cannot be configured to use local DC only

Robbie Strickland created CASSANDRA-7252:
--------------------------------------------

             Summary: RingCache cannot be configured to use local DC only
                 Key: CASSANDRA-7252
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7252
             Project: Cassandra
          Issue Type: Bug
          Components: Hadoop
            Reporter: Robbie Strickland
            Assignee: Robbie Strickland


RingCache always calls describe_ring, returning the entire cluster.  Considering it's used in the context of writing from Hadoop (which is typically in a multi-DC configuration), this is often not desirable behavior.  In some cases there may be high-latency connections between the analytics DC and other DCs.

I am attaching a patch that adds an optional config value to tell RingCache to use local nodes only.  It also adds helpful failed host information to IOExceptions thrown in AbstractColumnFamilyOutputFormat.createAuthenticatedClient, CqlRecordWriter, and ColumnFamilyRecordWriter.  This allows a user to more easily solve related connectivity issues.



--
This message was sent by Atlassian JIRA
(v6.2#6252)