incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DonYang <yyx...@gmail.com>
Subject Re: got a SocketException: Software caused connection abort: socket write error
Date Tue, 16 Mar 2010 22:13:58 GMT
thanks, it works

I also find this on FAQ
--------------------------------------------------------------------------------------------------
What ports does Cassandra use?

By default, Cassandra uses 7000 and 7001 for cluster communication, 9160 for
clients (Thrift), 8888 for java remote debugging, and 8080 for JMX. These
are all editable in the configuration file or bin/cassandra.in.sh (for JVM
options).

------------------------------------------------------------------------------

2010/3/17 Roger Schildmeijer <schildmeijer@gmail.com>

> Try connect localhost/9160 instead
>
> On 16 mar 2010, at 22.59em, DonYang wrote:
>
> > the problem:
> >
> ---------------------------------------------------------------------------------------------------------------------------------
> > cassandra> connect localhost/8888
> > Connected to localhost/8888
> > cassandra> show version
> > Exception java.net.SocketException: Software caused connection abort:
> socket wri
> > te error
> > org.apache.thrift.transport.TTransportException:
> java.net.SocketException: Softw
> > are caused connection abort: socket write error
> >         at
> org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTranspo
> > rt.java:156)
> >         at
> org.apache.cassandra.service.Cassandra$Client.send_get_string_propert
> > y(Cassandra.java:686)
> >         at
> org.apache.cassandra.service.Cassandra$Client.get_string_property(Cas
> > sandra.java:675)
> >         at
> org.apache.cassandra.cli.CliClient.executeShowProperty(CliClient.java
> > :386)
> >         at
> org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:78)
> >         at
> org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:131)
> >         at org.apache.cassandra.cli.CliMain.main(CliMain.java:172)
> > Caused by: java.net.SocketException: Software caused connection abort:
> socket wr
> > ite error
> >         at java.net.SocketOutputStream.socketWrite0(Native Method)
> >         at java.net.SocketOutputStream.socketWrite(Unknown Source)
> >         at java.net.SocketOutputStream.write(Unknown Source)
> >         at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
> >         at java.io.BufferedOutputStream.flush(Unknown Source)
> >         at
> org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTranspo
> > rt.java:154)
> >         ... 6 more
> > cassandra>
> >
> --------------------------------------------------------------------------------------------------------------------------
> >
> > the cassandra server
> >
> --------------------------------------------------------------------------------------------------------------------------
> > D:\cassandra\bin>cassandra.bat
> > Starting Cassandra Server
> > Listening for transport dt_socket at address: 8888
> > INFO - Saved Token not found. Using
> 61924425492074945939969609562243388291
> > INFO - Starting up server gossip
> >
> --------------------------------------------------------------------------------------------------------------------------
> >
> > I'am using windows xp sp3 /w jdk1.6.0_18
> > Both cassandra 0.5.0 and 0.5.1 has same problem
> >
> > Don Yang
> >
> >
> >
> >
> >
>
>

Mime
View raw message