Re: java.net.SocketException

2012-04-12 Thread Edward Capriolo
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  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.(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
>


java.net.SocketException

2012-04-12 Thread Chao Wang
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.(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



Re: [VOTE] Release Apache Cassandra 1.1.0-rc1

2012-04-12 Thread Eric Evans
On Thu, Apr 12, 2012 at 4:56 AM, Sylvain Lebresne  wrote:
> We didn't get much issues from beta 2 and pretty much all current issues for
> 1.1.0 has been resolved, so it is time for a release canditate. I thus propose
> the following artifacts for release as 1.1.0-rc1.
>
> sha1: cbbf54910f7f98e9f4b944b984b2460f42cd50bd
> Git: 
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.1.0-rc1-tentative
> Artifacts: 
> https://repository.apache.org/content/repositories/orgapachecassandra-035/org/apache/cassandra/apache-cassandra/1.1.0-rc1/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-035/

+1

-- 
Eric Evans
Acunu | http://www.acunu.com | @acunu


Re: [VOTE] Release Apache Cassandra 1.1.0-rc1

2012-04-12 Thread Brandon Williams
+1

On Thu, Apr 12, 2012 at 4:56 AM, Sylvain Lebresne  wrote:
> We didn't get much issues from beta 2 and pretty much all current issues for
> 1.1.0 has been resolved, so it is time for a release canditate. I thus propose
> the following artifacts for release as 1.1.0-rc1.
>
> sha1: cbbf54910f7f98e9f4b944b984b2460f42cd50bd
> Git: 
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.1.0-rc1-tentative
> Artifacts: 
> https://repository.apache.org/content/repositories/orgapachecassandra-035/org/apache/cassandra/apache-cassandra/1.1.0-rc1/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-035/
>
> The artifacts as well as the debian package are also available here:
> http://people.apache.org/~slebresne/
>
> The vote will be open for 72 hours (longer if needed).
>
> [1]: http://goo.gl/gjLT8 (CHANGES.txt)
> [2]: http://goo.gl/VsciE (NEWS.txt)


Re: [VOTE] Release Apache Cassandra 1.1.0-rc1

2012-04-12 Thread Sylvain Lebresne
>> Would you be okay with a 24h period for this vote?

I personally would be okay, yes. Unless someone else has any objection
(but it's not a final release so I guess the risk are pretty limited).

--
Sylvain

>>
>> On Thu, Apr 12, 2012 at 4:56 AM, Sylvain Lebresne > (mailto:sylv...@datastax.com)> wrote:
>> > We didn't get much issues from beta 2 and pretty much all current issues 
>> > for
>> > 1.1.0 has been resolved, so it is time for a release canditate. I thus 
>> > propose
>> > the following artifacts for release as 1.1.0-rc1.
>> >
>> > sha1: cbbf54910f7f98e9f4b944b984b2460f42cd50bd
>> > Git: 
>> > http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.1.0-rc1-tentative
>> > Artifacts: 
>> > https://repository.apache.org/content/repositories/orgapachecassandra-035/org/apache/cassandra/apache-cassandra/1.1.0-rc1/
>> > Staging repository:
>> > https://repository.apache.org/content/repositories/orgapachecassandra-035/
>> >
>> > The artifacts as well as the debian package are also available here:
>> > http://people.apache.org/~slebresne/
>> >
>> > The vote will be open for 72 hours (longer if needed).
>> >
>> > [1]: http://goo.gl/gjLT8 (CHANGES.txt)
>> > [2]: http://goo.gl/VsciE (NEWS.txt)
>> >
>>
>>
>>
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of DataStax, the source for professional Cassandra support
>> http://www.datastax.com
>>
>>
>
>


Re: [VOTE] Release Apache Cassandra 1.1.0-rc1

2012-04-12 Thread Pavel Yaskevich
+1 

-- 
Pavel Yaskevich


On Thursday 12 April 2012 at 17:48, Jonathan Ellis wrote:

> +1
> 
> Would you be okay with a 24h period for this vote?
> 
> On Thu, Apr 12, 2012 at 4:56 AM, Sylvain Lebresne  (mailto:sylv...@datastax.com)> wrote:
> > We didn't get much issues from beta 2 and pretty much all current issues for
> > 1.1.0 has been resolved, so it is time for a release canditate. I thus 
> > propose
> > the following artifacts for release as 1.1.0-rc1.
> > 
> > sha1: cbbf54910f7f98e9f4b944b984b2460f42cd50bd
> > Git: 
> > http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.1.0-rc1-tentative
> > Artifacts: 
> > https://repository.apache.org/content/repositories/orgapachecassandra-035/org/apache/cassandra/apache-cassandra/1.1.0-rc1/
> > Staging repository:
> > https://repository.apache.org/content/repositories/orgapachecassandra-035/
> > 
> > The artifacts as well as the debian package are also available here:
> > http://people.apache.org/~slebresne/
> > 
> > The vote will be open for 72 hours (longer if needed).
> > 
> > [1]: http://goo.gl/gjLT8 (CHANGES.txt)
> > [2]: http://goo.gl/VsciE (NEWS.txt)
> > 
> 
> 
> 
> 
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
> 
> 




Re: [VOTE] Release Apache Cassandra 1.1.0-rc1

2012-04-12 Thread Jonathan Ellis
+1

Would you be okay with a 24h period for this vote?

On Thu, Apr 12, 2012 at 4:56 AM, Sylvain Lebresne  wrote:
> We didn't get much issues from beta 2 and pretty much all current issues for
> 1.1.0 has been resolved, so it is time for a release canditate. I thus propose
> the following artifacts for release as 1.1.0-rc1.
>
> sha1: cbbf54910f7f98e9f4b944b984b2460f42cd50bd
> Git: 
> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.1.0-rc1-tentative
> Artifacts: 
> https://repository.apache.org/content/repositories/orgapachecassandra-035/org/apache/cassandra/apache-cassandra/1.1.0-rc1/
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecassandra-035/
>
> The artifacts as well as the debian package are also available here:
> http://people.apache.org/~slebresne/
>
> The vote will be open for 72 hours (longer if needed).
>
> [1]: http://goo.gl/gjLT8 (CHANGES.txt)
> [2]: http://goo.gl/VsciE (NEWS.txt)



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


[VOTE] Release Apache Cassandra 1.1.0-rc1

2012-04-12 Thread Sylvain Lebresne
We didn't get much issues from beta 2 and pretty much all current issues for
1.1.0 has been resolved, so it is time for a release canditate. I thus propose
the following artifacts for release as 1.1.0-rc1.

sha1: cbbf54910f7f98e9f4b944b984b2460f42cd50bd
Git: 
http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/1.1.0-rc1-tentative
Artifacts: 
https://repository.apache.org/content/repositories/orgapachecassandra-035/org/apache/cassandra/apache-cassandra/1.1.0-rc1/
Staging repository:
https://repository.apache.org/content/repositories/orgapachecassandra-035/

The artifacts as well as the debian package are also available here:
http://people.apache.org/~slebresne/

The vote will be open for 72 hours (longer if needed).

[1]: http://goo.gl/gjLT8 (CHANGES.txt)
[2]: http://goo.gl/VsciE (NEWS.txt)