You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ray Slakinski (JIRA)" <ji...@apache.org> on 2009/11/12 22:16:53 UTC

[jira] Issue Comment Edited: (CASSANDRA-546) Streaming error on bootstrap

    [ https://issues.apache.org/jira/browse/CASSANDRA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777190#action_12777190 ] 

Ray Slakinski edited comment on CASSANDRA-546 at 11/12/09 9:16 PM:
-------------------------------------------------------------------

applied patch and get the below error, which is (from what I can tell) the same as the first error.

WARN - Problem reading from socket connected to : java.nio.channels.SocketChannel[connected local=/10.2.4.114:7000 remote=/7x.6x.2xx.1xx:63447]
WARN - Exception was generated at : 11/12/2009 20:36:42 on thread MESSAGING-SERVICE-POOL:3
Streaming context has not been set.
java.lang.IllegalStateException: Streaming context has not been set.
	at org.apache.cassandra.net.io.StreamContextManager.getStreamContext(StreamContextManager.java:264)
	at org.apache.cassandra.net.io.ContentStreamState.<init>(ContentStreamState.java:47)
	at org.apache.cassandra.net.io.ProtocolHeaderState.morphState(ProtocolHeaderState.java:66)
	at org.apache.cassandra.net.io.StartState.doRead(StartState.java:48)
	at org.apache.cassandra.net.io.ProtocolHeaderState.read(ProtocolHeaderState.java:39)
	at org.apache.cassandra.net.io.TcpReader.read(TcpReader.java:96)
	at org.apache.cassandra.net.TcpConnection$ReadWorkItem.run(TcpConnection.java:427)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)

svn diff output: http://pastie.org/696251

      was (Author: rays):
    applied patch and now get

WARN - Problem reading from socket connected to : java.nio.channels.SocketChannel[connected local=/10.2.4.114:7000 remote=/7x.6x.2xx.1xx:63447]
WARN - Exception was generated at : 11/12/2009 20:36:42 on thread MESSAGING-SERVICE-POOL:3
Streaming context has not been set.
java.lang.IllegalStateException: Streaming context has not been set.
	at org.apache.cassandra.net.io.StreamContextManager.getStreamContext(StreamContextManager.java:264)
	at org.apache.cassandra.net.io.ContentStreamState.<init>(ContentStreamState.java:47)
	at org.apache.cassandra.net.io.ProtocolHeaderState.morphState(ProtocolHeaderState.java:66)
	at org.apache.cassandra.net.io.StartState.doRead(StartState.java:48)
	at org.apache.cassandra.net.io.ProtocolHeaderState.read(ProtocolHeaderState.java:39)
	at org.apache.cassandra.net.io.TcpReader.read(TcpReader.java:96)
	at org.apache.cassandra.net.TcpConnection$ReadWorkItem.run(TcpConnection.java:427)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)

svn diff output: http://pastie.org/696251
  
> Streaming error on bootstrap
> ----------------------------
>
>                 Key: CASSANDRA-546
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-546
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: FreeBSD 7.2-RELEASE amd64 
> Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
>            Reporter: Ray Slakinski
>            Assignee: Jonathan Ellis
>             Fix For: 0.5
>
>         Attachments: 546.patch
>
>
> Received the following error while bootstrapping a new node:
> DEBUG - Adding stream context /usr/local/cassandra-trunk/data/data/Mahalo/VideosInSection-tmp-1-Data.db:4096052 for /10.1.10.198 ...
> DEBUG - Sending a stream initiate done message ...
> WARN - Problem reading from socket connected to : java.nio.channels.SocketChannel[connected local=/10.2.4.114:7000 remote=/2xx.2xx.194.2xx:55515]
> WARN - Exception was generated at : 11/12/2009 15:30:38 on thread MESSAGING-SERVICE-POOL:3
> Streaming context has not been set.
> java.lang.IllegalStateException: Streaming context has not been set.
> 	at org.apache.cassandra.net.io.StreamContextManager.getStreamContext(StreamContextManager.java:264)
> 	at org.apache.cassandra.net.io.ContentStreamState.<init>(ContentStreamState.java:47)
> 	at org.apache.cassandra.net.io.ProtocolHeaderState.morphState(ProtocolHeaderState.java:66)
> 	at org.apache.cassandra.net.io.StartState.doRead(StartState.java:48)
> 	at org.apache.cassandra.net.io.ProtocolHeaderState.read(ProtocolHeaderState.java:39)
> 	at org.apache.cassandra.net.io.TcpReader.read(TcpReader.java:96)
> 	at org.apache.cassandra.net.TcpConnection$ReadWorkItem.run(TcpConnection.java:427)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> full log ---> http://pastie.org/695593

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.