cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CASSANDRA-3044) Hector NodeAutoDiscoverService fails to resolve hosts due to / being part of the IP address
Date Wed, 17 Aug 2011 20:37:27 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams reopened CASSANDRA-3044:
-----------------------------------------


Reopening because http://svn.apache.org/viewvc?view=rev&revision=1155157 should be in
0.8.4, so something else may be going on here.

> Hector NodeAutoDiscoverService fails to resolve hosts due to / being part of the IP address
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3044
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3044
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Drivers
>    Affects Versions: 0.8.4
>         Environment: Cassandra 0.8.4, hector 0.8.0
>            Reporter: Aaron Turner
>             Fix For: 0.8.5
>
>
> Didn't get this problem with Cassandra 0.8.2- started happening under 0.8.4.  Temporary
work around was to disable node auto discovery.  Seems to be related to:
> http://svn.apache.org/viewvc?view=rev&revision=1155157
> http://issues.apache.org/jira/browse/CASSANDRA-1777
> LOG:
> 240514 [pool-2-thread-1] INFO me.prettyprint.cassandra.connection.NodeAutoDiscoverService
- using existing hosts [10.255.255.176(10.255.255.176):9160, 10.255.255.175(10.255.255.175):9160]
> 240553 [pool-2-thread-1] ERROR me.prettyprint.cassandra.service.CassandraHost - Unable
to resolve host /10.255.255.176
> 240553 [pool-2-thread-1] INFO me.prettyprint.cassandra.connection.NodeAutoDiscoverService
- Found a node we don't know about /10.255.255.176(/10.255.255.176):9160 for TokenRange TokenRange(start_token:33370589793653380361461751202224080323,
end_token:93518639523624865529944734322199113946, endpoints:[/10.255.255.176])
> 240553 [pool-2-thread-1] INFO me.prettyprint.cassandra.connection.NodeAutoDiscoverService
- Found 1 new host(s) in Ring
> 240553 [pool-2-thread-1] INFO me.prettyprint.cassandra.connection.NodeAutoDiscoverService
- Addding found host /10.255.255.176(/10.255.255.176):9160 to pool
> 240554 [pool-2-thread-1] ERROR me.prettyprint.cassandra.connection.HConnectionManager
- General exception host to HConnectionManager: /10.255.255.176(/10.255.255.176):9160
> java.lang.IllegalArgumentException: protocol = socket host = null
>         at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:151)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:358)
>         at java.net.Socket.connect(Socket.java:529)
>         at org.apache.thrift.transport.TSocket.open(TSocket.java:178)
>         at org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>         at me.prettyprint.cassandra.connection.HThriftClient.open(HThriftClient.java:123)
>         at me.prettyprint.cassandra.connection.ConcurrentHClientPool.<init>(ConcurrentHClientPool.java:43)
>         at me.prettyprint.cassandra.connection.RoundRobinBalancingPolicy.createConnection(RoundRobinBalancingPolicy.java:68)
>         at me.prettyprint.cassandra.connection.HConnectionManager.addCassandraHost(HConnectionManager.java:103)
>         at me.prettyprint.cassandra.connection.NodeAutoDiscoverService.doAddNodes(NodeAutoDiscoverService.java:68)
>         at me.prettyprint.cassandra.connection.NodeAutoDiscoverService$QueryRing.run(NodeAutoDiscoverService.java:53)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message