You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Khee Chin (JIRA)" <ji...@apache.org> on 2011/04/16 12:05:05 UTC
[jira] [Created] (CASSANDRA-2491) A new config parameter,
broadcast_address
A new config parameter, broadcast_address
-----------------------------------------
Key: CASSANDRA-2491
URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
Project: Cassandra
Issue Type: Improvement
Components: Core
Environment: x86_64 GNU/Linux
Reporter: Khee Chin
Priority: Trivial
A new config parameter, broadcast_address
In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: (was: 2491_broadcast_address_v5.patch)
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049370#comment-13049370 ]
Vijay commented on CASSANDRA-2491:
----------------------------------
Ooops.... was not intentional (except changing it to getBCA() because of the rebase.... svn patch created a mess... i will rebase it again...
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056682#comment-13056682 ]
Brandon Williams commented on CASSANDRA-2491:
---------------------------------------------
This looks good, but now I'm getting a patch error:
patch: **** malformed patch at line 198: Index: src/java/org/apache/cassandra/db/HintedHandOffManager.java
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch, 2491_broadcast_address_v5.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: 0001-2491-Git_Patch_v7.patch
I am not sure why this is happening... i have tried multiple times and it worked to me... this time it is Git patch and hope this works.... i have also updated ITC with the updates to gossiper, let me know if this helps.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 0001-2491-Git_Patch_v7.patch, 2491_broadcast_address.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021161#comment-13021161 ]
Jonathan Ellis commented on CASSANDRA-2491:
-------------------------------------------
why wouldn't you just set listen_address=external ip?
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Priority: Trivial
> Labels: patch
> Attachments: 2491_broadcast_address.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049504#comment-13049504 ]
Brandon Williams commented on CASSANDRA-2491:
---------------------------------------------
That makes sense, as long as it's doing it before gossip starts like the ec2snitch currently does for dc/rack.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049366#comment-13049366 ]
Brandon Williams commented on CASSANDRA-2491:
---------------------------------------------
Why the changes to StreamRequestMessage?
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (CASSANDRA-2491) A new config
parameter, broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051391#comment-13051391 ]
Vijay edited comment on CASSANDRA-2491 at 6/17/11 11:08 PM:
------------------------------------------------------------
Earlier we where not throwing the exception in v5 i was (because of the refractor)... v6 doesnt throw it...
was (Author: vijay2win@yahoo.com):
Earlier we where not throwing the exception in v5 i was (because of the refractor)... v6 does throw it for now...
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch, 2491_broadcast_address_v5.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: 2491_broadcast_address_v4.patch
Thanks Brandon, Plz find the attached.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "superfc (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020971#comment-13020971 ]
superfc commented on CASSANDRA-2491:
------------------------------------
I think a lot of people are interested in having this feature. If you could apply this patch to the cassandra trunk that would be great!
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Priority: Trivial
> Labels: patch
> Attachments: 2491_broadcast_address.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051324#comment-13051324 ]
Brandon Williams commented on CASSANDRA-2491:
---------------------------------------------
I'm getting EOF exceptions on startup from ITC with this patch.
{noformat}
ERROR 21:06:10,912 Fatal exception in thread Thread[Thread-6,5,main]
java.io.IOError: java.io.EOFException
at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:112)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:98)
{noformat}
One for every node in the cluser, per machine.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch, 2491_broadcast_address_v5.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Khee Chin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021916#comment-13021916 ]
Khee Chin commented on CASSANDRA-2491:
--------------------------------------
In our present situation, in a varsity lan, (where the ips are 10.0.x.y) some of our servers are behind an additional router (the router has a 10.0.x.y address, while its clients have 192.168.x.y), and are not accessible by the nodes which happen to have a 10.0.x.y ip address.
In a simplified example (with four nodes)
A - 10.0.0.1
B - 10.0.0.2
C - 192.168.0.1 (behind router with 10.0.0.3)
D - 192.168.0.2 (behind router with 10.0.0.4)
Thus, we can't set C or D to listen on the external ip (10.0.0.3|4) since they can't bind to it. With the attached patch, they can set listen_address to 0.0.0.0 or 192.168.0.1|2 and broadcast_address to 10.0.0.3|4 .
This is a non-typical scenario, and not many admins will need to configure this, thus, broadcast_address fallsback to listen_address when it is not set.
Thanks.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Priority: Trivial
> Labels: patch
> Attachments: 2491_broadcast_address.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: (was: 2491_broadcast_address_v3.patch)
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: (was: 2491_broadcast_address_v2.patch)
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (CASSANDRA-2491) A new config
parameter, broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049493#comment-13049493 ]
Brandon Williams edited comment on CASSANDRA-2491 at 6/14/11 10:49 PM:
-----------------------------------------------------------------------
Mostly looks good. A few things I noticed:
* There's a typo in "receiveMessage"
* SimpleSnitch and AbstractNetworkTopologySnitch are importing DD but not using it
* the VersionedValue addition probably doesn't belong here
bq. Allow brodcastAddress to be set by snitch so we can automate via snitch (property or EC2MultiregionSnitch).
Can you explain why that's necessary? It seems to me if the node doesn't know it's own BA when it starts up, it's already going to get into trouble.
was (Author: brandon.williams):
Mostly looks good. A few things I noticed:
* If so, there's a typo in "receiveMessage"
* SimpleSnitch and AbstractNetworkTopologySnitch are importing DD but not using it
* the VersionedValue addition probably doesn't belong here
bq. Allow brodcastAddress to be set by snitch so we can automate via snitch (property or EC2MultiregionSnitch).
Can you explain why that's necessary? It seems to me if the node doesn't know it's own BA when it starts up, it's already going to get into trouble.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: 2491_broadcast_address_v5.patch
Sure... will try that in another ticket... Thanks...
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch, 2491_broadcast_address_v5.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: 2491_broadcast_address_v6.patch
Earlier we where not throwing the exception in v5 i was (because of the refractor)... v6 does throw it for now...
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch, 2491_broadcast_address_v5.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049499#comment-13049499 ]
Vijay commented on CASSANDRA-2491:
----------------------------------
Hi Brandon,
"Can you explain why that's necessary? It seems to me if the node doesn't know it's own BA when it starts up, it's already going to get into trouble."
-- This is Just for automation, Snitch will be initialized when DatabaseDescripter is initialized hence it will be safe and the Snitch is called only for the first time to set the BA... The fall-back if BA is not available then use getLocalAddress()
-- It Can also be automated outside cassandra too... let me know if you still think it is bad i can remove that logic.
For the rest, I will rebase it once again if you say we are good to go...
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050101#comment-13050101 ]
Brandon Williams commented on CASSANDRA-2491:
---------------------------------------------
One last thing I overlooked earlier is the snitches have getBCA(). This seems unnecessary since anything that needs it can access DD, which is all the snitches are doing. This changes the snitch interface and breaks any custom snitches.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: (was: 2491_broadcast_address_v4.patch)
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Khee Chin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062294#comment-13062294 ]
Khee Chin commented on CASSANDRA-2491:
--------------------------------------
Thanks Brandon and Vijay.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Vijay
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 0001-2491-Git_Patch_v7.patch, 2491_broadcast_address.patch, 2491_broadcast_address_v6.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Khee Chin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Khee Chin updated CASSANDRA-2491:
---------------------------------
Attachment: 2491_broadcast_address.patch
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Priority: Trivial
> Labels: patch
> Attachments: 2491_broadcast_address.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: 2491_broadcast_address_v3.patch
Rebased again....
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051358#comment-13051358 ]
Vijay commented on CASSANDRA-2491:
----------------------------------
Hi Brandon,
I doubt thats because of this patch are you running different versions on the same cluster?... i am sure that this existed in the old version too.... I can skip bytes if you want or create a different ticket to track... (http://www.datastax.com/support-forums/topic/eofexception-on-startup -- Ignore the answer to the question though :) just looks similar).
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch, 2491_broadcast_address_v5.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Vijay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vijay updated CASSANDRA-2491:
-----------------------------
Attachment: 2491_broadcast_address_v2.patch
1) Rebased
2) Attached patch has modification to IncomingTcpConnection (re factor) in order to support Gossiper.instance.setVersion as versions should be on broadcast IP and socket.getInetAddress will break.
3) Allow brodcastAddress to be set by snitch so we can automate via snitch (property or EC2MultiregionSnitch).
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051360#comment-13051360 ]
Brandon Williams commented on CASSANDRA-2491:
---------------------------------------------
It goes away when the patch is removed and is 100% reproducible with the patch. All nodes are running the same version (but that shouldn't be a problem anyway.)
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch, 2491_broadcast_address_v4.patch, 2491_broadcast_address_v5.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2491) A new config parameter,
broadcast_address
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049493#comment-13049493 ]
Brandon Williams commented on CASSANDRA-2491:
---------------------------------------------
Mostly looks good. A few things I noticed:
* If so, there's a typo in "receiveMessage"
* SimpleSnitch and AbstractNetworkTopologySnitch are importing DD but not using it
* the VersionedValue addition probably doesn't belong here
bq. Allow brodcastAddress to be set by snitch so we can automate via snitch (property or EC2MultiregionSnitch).
Can you explain why that's necessary? It seems to me if the node doesn't know it's own BA when it starts up, it's already going to get into trouble.
> A new config parameter, broadcast_address
> -----------------------------------------
>
> Key: CASSANDRA-2491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2491
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: x86_64 GNU/Linux
> Reporter: Khee Chin
> Assignee: Khee Chin
> Priority: Trivial
> Labels: patch
> Fix For: 1.0
>
> Attachments: 2491_broadcast_address.patch, 2491_broadcast_address_v2.patch, 2491_broadcast_address_v3.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> A new config parameter, broadcast_address
> In a cluster setup where one or more nodes is behind a firewall and has a private ip address, listen_address does not allow the hosts behind the firewalls to be discovered by other nodes.
> Attached is a patch that introduces a new config parameter broadcast_address which allows Cassandra nodes to explicitly specify their external ip address.
> In addition, this allows listen_address to be set to 0.0.0.0 on the already firewalled node.
> broadcast_address fallsback to listen_address when it is not stated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira