You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nick Bailey (JIRA)" <ji...@apache.org> on 2012/10/16 23:17:03 UTC

[jira] [Commented] (CASSANDRA-4819) Allow mapping the nodes from ring describe to simplify remotely debugging hadoop jobs

    [ https://issues.apache.org/jira/browse/CASSANDRA-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477354#comment-13477354 ] 

Nick Bailey commented on CASSANDRA-4819:
----------------------------------------

The TokenRange struct returned by thrift in describe_ring, already has both a list of endpoints and a list of rpc_endpoints. And the input/output formats should use the rpc address if available. So if you are setting rpc_interface to a public ip things should work.

Is there still a reason for this?
                
> Allow mapping the nodes from ring describe to simplify remotely debugging hadoop jobs
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4819
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4819
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Hadoop
>    Affects Versions: 1.1.5
>            Reporter: Ben Kempe
>            Priority: Trivial
>         Attachments: trunk-hadoop-mapping-endpoints.txt
>
>
> When testing Hadoop jobs using the Cassandra InputFormat/OutputFormat classes, it's helpful to be able to use public IPs rather than the private IPs that the ring describe returns. It's be possible to use an SSH tunnel, but a "node-mapping" feature in those classes simplifies the process. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira