incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yangfeng <yea...@gmail.com>
Subject Re: cassandra thrift error:java.net.SocketException: Broken pipe!
Date Sun, 25 Apr 2010 12:23:13 GMT
thrift mode to framed is false.

2010/4/12 Jonathan Ellis <jbellis@gmail.com>

> are any operations completing successfully?
>
> did you set the server thrift mode to framed?
>
> On Mon, Apr 12, 2010 at 7:35 AM, yangfeng <yeahyf@gmail.com> wrote:
> > The port is 9160, and cassandra server has a lot of connection
> > They stay CLOSE_WAIT status.
> >
> >
> > 2010/4/12 Jonathan Ellis <jbellis@gmail.com>
> >
> >> You're probably connecting to the wrong port.  Thrift is 9160.
> >>
> >> On Mon, Apr 12, 2010 at 4:24 AM, yangfeng <yeahyf@gmail.com> wrote:
> >> > cassandra 0.5.1.0
> >> > hector0.5.1.9
> >> >
> >> > org.apache.thrift.transport.TTransportException:
> >> java.net.SocketException:
> >> > Broken pipe
> >> >        at
> >> >
> >>
> org.apache.thrift.transport.TIOStreamTransport.write(TIOStreamTransport.java:142)
> >> > [libthrift-r820831.jar:na]
> >> >        at
> >> >
> >>
> org.apache.thrift.protocol.TBinaryProtocol.writeI32(TBinaryProtocol.java:152)
> >> > [libthrift-r820831.jar:na]
> >> >        at
> >> >
> >>
> org.apache.thrift.protocol.TBinaryProtocol.writeMessageBegin(TBinaryProtocol.java:80)
> >> > [libthrift-r820831.jar:na]
> >> >        at
> >> >
> >>
> org.apache.cassandra.service.Cassandra$Client.send_get_slice(Cassandra.java:275)
> >> > [apache-cassandra-0.5.1.jar:0.5.1]
> >> >        at
> >> >
> >>
> org.apache.cassandra.service.Cassandra$Client.get_slice(Cassandra.java:269)
> >> > [apache-cassandra-0.5.1.jar:0.5.1]
> >> >        at
> >> >
> com.aspire.mobilesearch.search.query.QueryProxy.query(QueryProxy.java:76)
> >> > [QueryProxy.class:na]
> >> >        at
> >> >
> >>
> com.aspire.mobilesearch.search.servant.SearchServant.searchProcess(SearchServant.java:38)
> >> > [SearchServant.class:na]
> >> >        at
> >> >
> >>
> com.aspire.mobilesearch.search.servlet.ServerServlet.doGet(ServerServlet.java:152)
> >> > [ServerServlet.class:na]
> >> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> >> > [servlet-api.jar:na]
> >> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >> > [servlet-api.jar:na]
> >> >        at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >> > [catalina.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
> >> > [tomcat-coyote.jar:6.0.26]
> >> >        at
> >> >
> >>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> >> > [tomcat-coyote.jar:6.0.26]
> >> >        at
> >> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> >> > [tomcat-coyote.jar:6.0.26]
> >> >        at java.lang.Thread.run(Thread.java:619) [na:1.6.0_19]
> >> > Caused by: java.net.SocketException: Broken pipe
> >> >        at java.net.SocketOutputStream.socketWrite0(Native Method)
> >> > [na:1.6.0_19]
> >> >        at
> >> > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> >> > [na:1.6.0_19]
> >> >        at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> >> > [na:1.6.0_19]
> >> >        at
> >> > java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
> >> > [na:1.6.0_19]
> >> >        at
> >> java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
> >> > [na:1.6.0_19]
> >> >        at
> >> >
> >>
> org.apache.thrift.transport.TIOStreamTransport.write(TIOStreamTransport.java:140)
> >> > [libthrift-r820831.jar:na]
> >> >        ... 21 common frames omitted
> >> >
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message