You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eldon Stegall (JIRA)" <ji...@apache.org> on 2011/09/15 20:22:08 UTC

[jira] [Created] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

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
    Affects Versions: 0.8.6, 1.0.0
         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
            Reporter: Eldon Stegall
            Priority: Minor


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127868#comment-13127868 ] 

Hudson commented on CASSANDRA-3214:
-----------------------------------

Integrated in Cassandra-0.8 #373 (See [https://builds.apache.org/job/Cassandra-0.8/373/])
    Make CFIF use rpc_endpoint prior to trying endpoint.
Patch by Eldon Stegall and Scott Fines, reviewed by brandonwilliams for
CASSANDRA-3214

brandonwilliams : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183489
Files : 
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/hadoop/ColumnFamilyInputFormat.java

                
> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.8
>
>         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

        

[jira] [Updated] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Eldon Stegall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eldon Stegall updated CASSANDRA-3214:
-------------------------------------

    Attachment: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt

> 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
>    Affects Versions: 0.8.6, 1.0.0
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Priority: Minor
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Brandon Williams (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams resolved CASSANDRA-3214.
-----------------------------------------

    Resolution: Fixed

Committed with formatting fixes.  Thanks!
                
> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.8
>
>         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

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Derek McGowan (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-3214:
----------------------------------------

    Affects Version/s:     (was: 0.8.6)
                       0.8.5

> 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
>    Affects Versions: 0.8.6, 1.0.0
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Priority: Minor
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164553#comment-13164553 ] 

Jonathan Ellis commented on CASSANDRA-3214:
-------------------------------------------

opened CASSANDRA-3584 for this
                
> 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

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113228#comment-13113228 ] 

Jonathan Ellis commented on CASSANDRA-3214:
-------------------------------------------

How would fall-back-to-gossip-endpoint be useful?  If the two are different, then rpc_address is the only one thrift will be listening on.

> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.7, 1.0.0
>
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-3214:
----------------------------------------

    Affects Version/s:     (was: 0.8.5)
                       0.8.6

> 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
>    Affects Versions: 0.8.6, 1.0.0
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Priority: Minor
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115001#comment-13115001 ] 

Jonathan Ellis commented on CASSANDRA-3214:
-------------------------------------------

+0 from me then
                
> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.7, 1.0.0
>
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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

        

[jira] [Updated] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Brandon Williams (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-3214:
----------------------------------------

    Reviewer: brandon.williams  (was: jbellis)
    
> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.8
>
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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

        

[jira] [Resolved] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3214.
---------------------------------------

    Resolution: Fixed
    
> 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: 1.0.1, 0.8.8
>
>         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

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114945#comment-13114945 ] 

Brandon Williams commented on CASSANDRA-3214:
---------------------------------------------

That's true, and I agree, but we should still try our hardest and give listen_address a try.
                
> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.7, 1.0.0
>
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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

        

[jira] [Updated] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3214:
--------------------------------------

    Affects Version/s:     (was: 0.8.6)
        Fix Version/s: 1.0.1
    
> 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

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113613#comment-13113613 ] 

Jonathan Ellis commented on CASSANDRA-3214:
-------------------------------------------

But it's totally valid to have rpc_ on 0.0.0.0 and listen on something that clients cannot connect to (separate interface, firewalled off, etc).  So fundamentally I think it comes down to "you shouldn't use 0.0.0.0 as rpc_address if you're going to use describe_ring."

> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.7, 1.0.0
>
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3214:
--------------------------------------

             Reviewer: brandon.williams
    Affects Version/s:     (was: 1.0.0)
        Fix Version/s: 1.0.0
                       0.8.7

> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.7, 1.0.0
>
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113493#comment-13113493 ] 

Brandon Williams commented on CASSANDRA-3214:
---------------------------------------------

It's (possibly) useful in the case that rpc_address is bound to all interfaces, because 0.0.0.0 is not useable.

> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.7, 1.0.0
>
>         Attachments: CASSANDRA-3214-make-cfif-use-rpc-endpoints-v1.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "T Jake Luciani (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

T Jake Luciani reopened CASSANDRA-3214:
---------------------------------------


the accepted patch contains a == bug

if(endpoint_address == null || endpoint_address == "0.0.0.0")
                
> 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

        

[jira] [Updated] (CASSANDRA-3214) Make CFIF use rpc_endpoint prior to trying endpoint

Posted by "Scott Fines (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Fines updated CASSANDRA-3214:
-----------------------------------

    Attachment: CASSANDRA-3214.patch

The patch file isn't exactly correct. 

In getSubSplits, it still refers to range.endpoints instead of range.rpc_endpoints

I'm attaching a patch which fixes the typ0; please let me know if it is improperly formatted.

I tested this patch against a 0.8.7 cluster with a different listen_address than rpc_address, and it appears to work correctly. Not that that is exactly an automated test, but... 
                
> 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
>    Affects Versions: 0.8.6
>         Environment: Hadoop 0.20 / Cassandra 0.8.5 / Ubuntu 10.04 / 
>            Reporter: Eldon Stegall
>            Assignee: Eldon Stegall
>            Priority: Minor
>             Fix For: 0.8.8
>
>         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