[
https://issues.apache.org/jira/browse/CASSANDRA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis reopened CASSANDRA-546:
--------------------------------------
ok, this is separate from the generic bootstrap/move bugs
the problem is, Ray has two interfaces and mostly Cassandra uses the internal
one, but bootstrap is trying to stream over the external one which confuses
things.
with the debug info from CASSANDRA-541 this is clear:
DEBUG - Sending BootstrapMetadataMessage to /10.1.10.198 for
(68939025851256836916907001051563673941,85173388956504742541769293679392562704]
ERROR - java.lang.IllegalStateException: Streaming context has not been set for
/74.6x.2xx.1xx
> 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
> 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.