Re: Bootstrap hung

2010-02-15 Thread Jonathan Ellis
created https://issues.apache.org/jira/browse/CASSANDRA-794 for this On Fri, Feb 12, 2010 at 2:38 PM, ruslan usifov ruslan.usi...@gmail.com wrote: Also i have problem with StreamInitiateVerbHandler, the problem in PendingFile.getTargetFile, namely difference in slashes on win and unix, so i

Re: Bootstrap hung

2010-02-15 Thread Jonathan Ellis
are you mixing windows and unix machines in the same cluster? On Fri, Feb 12, 2010 at 2:38 PM, ruslan usifov ruslan.usi...@gmail.com wrote: Also i have problem with StreamInitiateVerbHandler, the problem in PendingFile.getTargetFile, namely difference in slashes on win and unix, so i change

Re: Bootstrap hung

2010-02-15 Thread Gary Dusbabek
Ruslan, I think this indicates that SO_SNDBUF is too small on windows. Windows is the source, freebsd is the destination, correct?) I've created https://issues.apache.org/jira/browse/CASSANDRA-795 to track this. Can you apply the patch attached to it to see if it addresses the problem? Thanks.

Re: Bootstrap hung

2010-02-15 Thread ruslan usifov
Yes, for test case 2010/2/15 Jonathan Ellis jbel...@gmail.com are you mixing windows and unix machines in the same cluster? On Fri, Feb 12, 2010 at 2:38 PM, ruslan usifov ruslan.usi...@gmail.com wrote: Also i have problem with StreamInitiateVerbHandler, the problem in

Re: Bootstrap hung

2010-02-14 Thread ruslan usifov
ERROR [MESSAGE-STREAMING-POOL:1] 2010-02-12 19:08:25,500 DebuggableThreadPoolExecutor.java (line 80) Error in ThreadPoolExecutor java.lang.RuntimeException: java.io.IOException: Невозможно выполнить операцию на сокете, т.к. буфер слишком мал или очередь переполнена at

Bootstrap hung

2010-02-12 Thread ruslan usifov
Hello I have two nodes. First i on only one node and populate it with records. Then i start second node in bootstrap mode. And it hung. I run ./nodetool many times but it allways print identical results (67108864/240394603) Nothing to grows. And CPU on bootstrap node on 100% freebsd# ./nodetool

Re: Bootstrap hung

2010-02-12 Thread Gary Dusbabek
If the processes are still active, could you please post a thread dump of them? You can do this by sending the java process a kill -3 (assuming freebsd is similar enough to linux). Gary On Fri, Feb 12, 2010 at 04:47, ruslan usifov ruslan.usi...@gmail.com wrote: Hello I have two nodes. First

Re: Bootstrap hung

2010-02-12 Thread ruslan usifov
My first node is ander win32, and there is problem in FileStreamTask.java here: public static final int CHUNK_SIZE = 64*1024*1024; On windows this buffer is very big so stream method of class FileStreamTask always fail, i reduce buffer to 32MB, and this works in my case. 2010/2/12 ruslan

Re: Bootstrap hung

2010-02-12 Thread Jonathan Ellis
Does 64MB log an exception? On Fri, Feb 12, 2010 at 10:45 AM, ruslan usifov ruslan.usi...@gmail.com wrote: My first node is ander win32, and there is problem in FileStreamTask.java here: public static final int CHUNK_SIZE = 64*1024*1024; On windows this buffer is very big so stream method

Re: Bootstrap hung

2010-02-12 Thread ruslan usifov
Yes

Re: Bootstrap hung

2010-02-12 Thread ruslan usifov
Also i have problem with StreamInitiateVerbHandler, the problem in PendingFile.getTargetFile, namely difference in slashes on win and unix, so i change PendingFile.java like this: public PendingFile(String targetFile, long expectedBytes, String table) { targetFile_ =