Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 12224 invoked from network); 12 Feb 2010 16:46:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 16:46:26 -0000 Received: (qmail 73492 invoked by uid 500); 12 Feb 2010 16:46:25 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 73481 invoked by uid 500); 12 Feb 2010 16:46:25 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 73472 invoked by uid 99); 12 Feb 2010 16:46:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 16:46:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ruslan.usifov@gmail.com designates 209.85.220.224 as permitted sender) Received: from [209.85.220.224] (HELO mail-fx0-f224.google.com) (209.85.220.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 16:46:17 +0000 Received: by fxm24 with SMTP id 24so196307fxm.0 for ; Fri, 12 Feb 2010 08:45:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=19/WcWVwpI6EVCtYT6SPUh/9kOGjrC2cBlblJbDFR+k=; b=CTXpndFXAHiBv/U0Uekxisg2C/cUmZ4bNpRqbyIVXhhRuBducJymwPhneseQgUazL8 7Hlmm9dKX0grMVenoxYRuWyqgmk8YhpiTdGWMC2rBRf/CcIl3/z6WBtdMff6hDWhj7qZ zVv09qDZdMrZrI9c6TUo2baFoqqgU2TcFojEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=b85exqm0iqWNOgFFNsEf4g4Qmgn1fAA293GwPQiUWT10OkSSKRtBekZDssGihGRUXd 4DfVihF5pBDcZJqAcyueJIpQ2F5YTD57D7TtVExHXLeoVv6ALr6tXwjbD8b7MVVCp2QU mhKTxmoLGSmLIwIy4ci4hNfNBcGCisHMx+kJ0= MIME-Version: 1.0 Received: by 10.223.3.196 with SMTP id 4mr1760443fao.63.1265993156586; Fri, 12 Feb 2010 08:45:56 -0800 (PST) In-Reply-To: <9b048d181002120247g1a2b019at667994d4b0b7b04e@mail.gmail.com> References: <9b048d181002120247g1a2b019at667994d4b0b7b04e@mail.gmail.com> Date: Fri, 12 Feb 2010 19:45:56 +0300 Message-ID: <9b048d181002120845q3d48ddf4mf51e22365fb9da07@mail.gmail.com> Subject: Re: Bootstrap hung From: ruslan usifov To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=001517478cd062eba4047f6a00bc X-Virus-Checked: Checked by ClamAV on apache.org --001517478cd062eba4047f6a00bc Content-Type: text/plain; charset=ISO-8859-1 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 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 -h 192.168.0.220 streams > Mode: Bootstrapping > Not sending any streams. > Streaming from: /192.168.0.37 > test_1: /data/cassandra/data/test_1/value-tmp-1-Data.db > 67108864/240394603 > > --001517478cd062eba4047f6a00bc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable My first node is ander win32, and there is problem in FileStreamTask.java h= ere:

public static final int CHUNK_SIZE =3D 64*1024*1024;

On windows this buffer is very big so stream method of class FileStreamTas= k always fail, i reduce buffer to 32MB, and this works in my case.



--001517478cd062eba4047f6a00bc--