incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: java.net.SocketException
Date Fri, 13 Apr 2012 03:36:38 GMT
If you are using ~[na:1.6.0_14 you should upgrade to a later 1.6 JVM
before trying to troubleshoot anything else.

On Thu, Apr 12, 2012 at 11:05 PM, Chao Wang <chao.wang@ericsson.com> wrote:
> HI,
> Does this java.net.SocketException: No buffer space available related to cassandra?
> /Chao
> 11:00:30.269 [Hector.me.prettyprint.cassandra.connection.CassandraHostRetryService-1]
INFO  [m.p.c.c.CassandraHostRetryService:113] - Downed Host retry status true with host:
localhost(127.0.0.1):7160
> 11:00:30.300 [Hector.me.prettyprint.cassandra.connection.CassandraHostRetryService-1]
ERROR [m.p.c.connection.HConnectionManager:109] - Transport exception host to HConnectionManager:
localhost(127.0.0.1):7160
> me.prettyprint.hector.api.exceptions.HectorTransportException: Unable to open transport
to localhost(127.0.0.1):7160 , java.net.SocketException: No buffer space available (maximum
connections reached?): connect
>        at me.prettyprint.cassandra.connection.HThriftClient.open(HThriftClient.java:128)
~[na:na]
>        at me.prettyprint.cassandra.connection.ConcurrentHClientPool.<init>(ConcurrentHClientPool.java:48)
~[na:na]
>        at me.prettyprint.cassandra.connection.RoundRobinBalancingPolicy.createConnection(RoundRobinBalancingPolicy.java:68)
~[na:na]
>        at me.prettyprint.cassandra.connection.HConnectionManager.addCassandraHost(HConnectionManager.java:104)
~[na:na]
>        at me.prettyprint.cassandra.connection.CassandraHostRetryService$RetryRunner.run(CassandraHostRetryService.java:115)
~[na:na]
>        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
~[na:1.6.0_14]
>        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
~[na:1.6.0_14]
>        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) ~[na:1.6.0_14]
>        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
~[na:1.6.0_14]
>        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
~[na:1.6.0_14]
>        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
~[na:1.6.0_14]
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
~[na:1.6.0_14]
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
~[na:1.6.0_14]
>        at java.lang.Thread.run(Thread.java:619) ~[na:1.6.0_14]
> Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketException:
No buffer space available (maximum connections reached?): connect
>        at org.apache.thrift.transport.TSocket.open(TSocket.java:183) ~[na:na]
>        at org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
~[na:na]
>        at me.prettyprint.cassandra.connection.HThriftClient.open(HThriftClient.java:122)
~[na:na]
>        ... 13 common frames omitted
> Caused by: java.net.SocketException: No buffer space available (maximum connections reached?):
connect
>        at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.6.0_14]
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) ~[na:1.6.0_14]
>        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) ~[na:1.6.0_14]
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) ~[na:1.6.0_14]
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) ~[na:1.6.0_14]
>        at java.net.Socket.connect(Socket.java:519) ~[na:1.6.0_14]
>        at org.apache.thrift.transport.TSocket.open(TSocket.java:178) ~[na:na]
>        ... 15 common frames omitted
>

Mime
View raw message