cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: bootstrapping problem. 1.1.2 version
Date Mon, 16 Jul 2012 17:57:51 GMT
>  DC located in different environments one on Win7 other on Linux.
Running different operating systems is not supported. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 17/07/2012, at 12:30 AM, Michael Cherkasov wrote:

> I found this error:
> 
> ERROR [Streaming to /192.168.36.25:10] 2012-07-16 16:26:25,206 AbstractCassandraDaemon.java
(line 134) Exception in thread Thread[Streaming to /192.168.36.25:10,5,main]
> java.lang.IllegalStateException: target reports current file is \home\user\cassandra-data\data\DevKS\TestCase\DevKS-TestCase-hd-12-Data.db
but is /home/user/cassandra-data/data/DevKS/TestCase/DevKS-TestCase-hd-12-Data.db
>         at org.apache.cassandra.streaming.StreamOutSession.validateCurrentFile(StreamOutSession.java:174)
>         at org.apache.cassandra.streaming.StreamReplyVerbHandler.doVerb(StreamReplyVerbHandler.java:59)
>         at org.apache.cassandra.streaming.FileStreamTask.receiveReply(FileStreamTask.java:208)
>         at org.apache.cassandra.streaming.FileStreamTask.stream(FileStreamTask.java:181)
>         at org.apache.cassandra.streaming.FileStreamTask.runMayThrow(FileStreamTask.java:94)
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:636)
> 
> But I have no idea how to fix this. Also as you notice there's problem with folder separator.
DC located in different environments one on Win7 other on Linux.
> 
> 2012/7/16 aaron morton <aaron@thelastpickle.com>
> Check net stats a few times to look for progress, if there is none take a look at the
logs on both sides for errors.
> 
> Hope that helps. 
> 
> 
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
> 
> On 14/07/2012, at 10:53 PM, Michael Cherkasov wrote:
> 
>> Hi all,
>> 
>> I have only one node and trying to add new DC with one node too.
>> 
>> So I do all steps according this instruction http://www.datastax.com/docs/1.0/operations/cluster_management#adding-nodes-to-a-cluster
>> 
>> But looks like nothing happens:
>> 
>> D:\db\apache-cassandra-1.1.2\bin>nodetool netstats
>> Starting NodeTool
>> Mode: JOINING
>> Not sending any streams.
>> Streaming from: /192.168.33.118
>>    DevKS: \home\user\cassandra-data\data\DevKS\Test\DevKS-Test-hd-12-Data.db sections=1
progress=0/369 - 0%
>>    DevKS: \home\user\cassandra-data\data\DevKS\TestCase\DevKS-TestCase-hd-11-Data.db
sections=1 progress=0/7255721 - 0%
>>    DevKS: \home\user\cassandra-data\data\DevKS\Parameter\DevKS-Parameter-hd-5-Data.db
sections=1 progress=0/113 - 0%
>>    DevKS: \home\user\cassandra-data\data\DevKS\Parameter\DevKS-Parameter-hd-6-Data.db
sections=1 progress=0/601578 - 0%
>>    DevKS: \home\user\cassandra-data\data\DevKS\Test\DevKS-Test-hd-13-Data.db sections=1
progress=0/5138 - 0%
>>    DevKS: \home\user\cassandra-data\data\DevKS\Parameter\DevKS-Parameter-hd-4-Data.db
sections=1 progress=0/4049601 - 0%
>>    DevKS: \home\user\cassandra-data\data\DevKS\Test\DevKS-Test-hd-14-Data.db sections=1
progress=0/4481977 - 0%
>> Pool Name                    Active   Pending      Completed
>> Commands                        n/a         0              4
>> Responses                       n/a         0           3030
>> 
>> 
>> there's really good connection between DCs, I'm pretty sure that there's no problem
with connection.
>> So what can be wrong there?
>> 
>> Also there was one more DC before, which was removed by 'removetoken' command. for
new DC I reused the same DC name.
> 
> 


Mime
View raw message