[
https://issues.apache.org/jira/browse/CASSANDRA-14114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522973#comment-16522973
]
Jay Zhuang commented on CASSANDRA-14114:
----------------------------------------
Is there any use case that the user will use the non-local IP? The same
question for the native port, here is a test case to set up a cluster listening
on a non-local IP if {{ip_nonlocal_bind == 1}}:
https://github.com/cooldoger/cassandra/commit/05eafc3e73702f22a251eb9c269b88c523245c73
Is it possible that the user uses a virtual IP on EC2, so they could re-assign
the IP (and copy the sstables) to switch the host quickly?
> uTest failed: NettyFactoryTest.createServerChannel_UnbindableAddress()
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-14114
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14114
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jay Zhuang
> Assignee: Dinesh Joshi
> Priority: Minor
> Labels: Testing
>
> {noformat}
> [junit] Testcase:
> createServerChannel_UnbindableAddress(org.apache.cassandra.net.async.NettyFactoryTest):
> FAILED
> [junit] Expected exception:
> org.apache.cassandra.exceptions.ConfigurationException
> [junit] junit.framework.AssertionFailedError: Expected exception:
> org.apache.cassandra.exceptions.ConfigurationException
> [junit]
> [junit]
> [junit] Test org.apache.cassandra.net.async.NettyFactoryTest FAILED
> {noformat}
> I'm unable to reproduce the problem on a mac or circleCI, but on some hosts
> (Linux 4.4.38), it's able to bind IP {{1.1.1.1}}, or any other valid IP
> (which breaks the testcase):
> {noformat}
> ...
> [junit] INFO [main] 2017-12-13 21:20:48,470 NettyFactory.java:190 -
> Starting Messaging Service on /1.1.1.1:9876 , encryption: disabled
> ...
> {noformat}
> Is it because a network/kernal configuration?
> +[~jasobrown]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]