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

Vijay commented on CASSANDRA-4200:
----------------------------------

attached patch works but it streams the ranges back to the localhost, which i 
am not sure is intended.


 INFO [RMI TCP Connection(8)-10.2.179.47] 2012-05-02 10:50:17,366 
StorageService.java (line 752) MOVING: fetching new ranges and streaming old 
ranges
 INFO [StreamStage:1] 2012-05-02 10:50:17,367 StreamOut.java (line 113) 
Beginning transfer to localhost/127.0.0.1
 INFO [StreamStage:1] 2012-05-02 10:50:17,367 StreamOut.java (line 94) Flushing 
memtables for [CFS(Keyspace='Keyspace1', ColumnFamily='Counter1'), 
CFS(Keyspace='Keyspace1', ColumnFamily='Super1'), CFS(Keyspace='Keyspace1', 
ColumnFamily='SuperCounter1'), CFS(Keyspace='Keyspace1', 
ColumnFamily='Standard1')]...
 INFO [StreamStage:1] 2012-05-02 10:50:17,368 StreamOut.java (line 159) Stream 
context metadata 
[/var/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ib-69-Data.db 
sections=1 progress=0/279349056 - 0%, 
/var/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ib-86-Data.db 
sections=1 progress=0/279349056 - 0%, 
/var/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ib-89-Data.db 
sections=1 progress=0/59903136 - 0%], 3 sstables.
 INFO [StreamStage:1] 2012-05-02 10:50:17,368 StreamOutSession.java (line 161) 
Streaming to localhost/127.0.0.1
 INFO [Streaming to localhost/127.0.0.1:2] 2012-05-02 10:50:25,211 
StreamReplyVerbHandler.java (line 55) Successfully sent 
/var/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ib-69-Data.db 
to /127.0.0.1
 INFO [Streaming to localhost/127.0.0.1:2] 2012-05-02 10:50:32,983 
StreamReplyVerbHandler.java (line 55) Successfully sent 
/var/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ib-86-Data.db 
to /127.0.0.1
 INFO [Streaming to localhost/127.0.0.1:2] 2012-05-02 10:50:34,760 
StreamReplyVerbHandler.java (line 55) Successfully sent 
/var/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ib-89-Data.db 
to /127.0.0.1
 INFO [Thread-15] 2012-05-02 10:50:34,761 StreamInSession.java (line 190) 
Finished streaming session 1335981017366948000 from localhost/127.0.0.1

                
> Move error on 1 node cluster
> ----------------------------
>
>                 Key: CASSANDRA-4200
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4200
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Nick Bailey
>            Assignee: Sylvain Lebresne
>             Fix For: 1.1.1
>
>         Attachments: 4200.txt
>
>
> Attempting to move a node in a 1 node cluster with a keyspace using NTS 
> produces an error:
> {noformat}
> bin/nodetool -h localhost move 0
> Exception in thread "main" java.lang.IllegalStateException: unable to find 
> sufficient sources for streaming range 
> (0,129685538820263942208828358218513421652]
> at 
> org.apache.cassandra.dht.RangeStreamer.getRangeFetchMap(RangeStreamer.java:197)
>       at 
> org.apache.cassandra.dht.RangeStreamer.getWorkMap(RangeStreamer.java:205)
>       at 
> org.apache.cassandra.service.StorageService.move(StorageService.java:2419)
>       at 
> org.apache.cassandra.service.StorageService.move(StorageService.java:2327)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to