Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5035BF58C for ; Fri, 12 Apr 2013 07:12:46 +0000 (UTC) Received: (qmail 51752 invoked by uid 500); 12 Apr 2013 07:12:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 51708 invoked by uid 500); 12 Apr 2013 07:12:43 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 51696 invoked by uid 99); 12 Apr 2013 07:12:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 07:12:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gciuloaica@gmail.com designates 209.85.215.175 as permitted sender) Received: from [209.85.215.175] (HELO mail-ea0-f175.google.com) (209.85.215.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 07:12:35 +0000 Received: by mail-ea0-f175.google.com with SMTP id r16so1065269ead.6 for ; Fri, 12 Apr 2013 00:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=HxqW2kaag6vSMqM6P9e7Sj6LPZdsW+NHI+s16xRCEwI=; b=b0q8OekBxlDudF5oHtr8kQGDm5Mw2fTmVs0aLTK+q3Q+wHs3+T0nJISIG2ANkM/DkM Ml+UfRdfJSw29/n+aNI9VHwUx1EFRkdcq4gaAAV2AkG89uuCvaP+98PS2uOBjunp8faw cy/e0X1QD+l7hw3FtM9TuowJVZr8mdumzf/238uT8R0thlMOLccAyjmTsvJJmhWYOQJW sdKN0U8xOD4ikRU2DbpT7q7KZ0M98d00Y7BF7NOPhkwRqmtt5SpdCE6MunGN/bEQyx+Z ANaCP4imneHBEdZ8nAADAjLJ6vK17LpV2HrJTHk4vInhEp4dbqXXm0laEMlvVFpff0Tq Gt6w== X-Received: by 10.14.107.69 with SMTP id n45mr25204044eeg.23.1365750734947; Fri, 12 Apr 2013 00:12:14 -0700 (PDT) Received: from devsprint.local ([91.231.138.138]) by mx.google.com with ESMTPS id bj2sm9621037eeb.1.2013.04.12.00.12.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 00:12:13 -0700 (PDT) Message-ID: <5167B3CD.8010202@gmail.com> Date: Fri, 12 Apr 2013 10:12:13 +0300 From: Gabriel Ciuloaica User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Adding new nodes to an existing cluster Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, From yesterday, I'm trying to add a new node to an existing 3 nodes Cassandra cluster, running version 1.2.3. Today I have started clean, removed the node that I have tried to add yesterday and try to add another node. Verified both cassandra.yaml and cassandra-topology.properties are identical on all nodes (I'm using NetworkTopologyStrategy and PropertyFile snitch). I see the nodetool netstats on the new node shows that it is streaming from the other nodes, but other than increasing number on Responses Pool, there is no change in the report. Logs are set to Debug and most of new lines are "Applying mutations". Below is the only ERROR that I can find in both cassandra.log and system.log. So, it seems that streaming is working but not completing... For the sstable that I get the error, the percentage is not increasing in netstats, not for any other sstables. Now it is running for few hours and no progress. Any clue ? ERROR 06:09:03,934 Exception in thread Thread[Thread-25,5,main] java.lang.AssertionError: incorrect row data size 114969 written to /data/woow_backend/offline/woow_backend-offline-tmp-ib-2-Data.db; correct is 115006 at org.apache.cassandra.io.sstable.SSTableWriter.appendFromStream(SSTableWriter.java:285) at org.apache.cassandra.streaming.IncomingStreamReader.streamIn(IncomingStreamReader.java:179) at org.apache.cassandra.streaming.IncomingStreamReader.read(IncomingStreamReader.java:122) at org.apache.cassandra.net.IncomingTcpConnection.stream(IncomingTcpConnection.java:238) at org.apache.cassandra.net.IncomingTcpConnection.handleStream(IncomingTcpConnection.java:178) at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:78) nodetool netstats: Mode: JOINING Not sending any streams. Streaming from: /10.11.1.108 woow_backend: /data/woow_backend/user_rooms/woow_backend-user_rooms-ib-1-Data.db sections=1 progress=0/566 - 0% woow_backend: /data/woow_backend/gc_archive/woow_backend-gc_archive-ib-2-Data.db sections=1 progress=0/3478 - 0% woow_backend: /data/woow_backend/msg_archive/woow_backend-msg_archive-ib-258-Data.db sections=1 progress=0/313 - 0% woow_backend: /data/woow_backend/roster_groups/woow_backend-roster_groups-ib-23-Data.db sections=1 progress=0/120 - 0% woow_backend: /data/woow_backend/roster_versions/woow_backend-roster_versions-ib-34-Data.db sections=2 progress=0/195 - 0% woow_backend: /data/woow_backend/rosters/woow_backend-rosters-ib-27-Data.db sections=93 progress=0/881196 - 0% woow_backend: /data/woow_backend/msg_archive/woow_backend-msg_archive-ib-257-Data.db sections=104 progress=0/5816889 - 0% woow_backend: /data/woow_backend/avatars/woow_backend-avatars-ib-68-Data.db sections=71 progress=0/5841975 - 0% woow_backend: /data/woow_backend/rosters/woow_backend-rosters-ib-28-Data.db sections=2 progress=0/234 - 0% woow_backend: /data/woow_backend/msg_archive/woow_backend-msg_archive-ib-259-Data.db sections=3 progress=0/6910 - 0% woow_backend: /data/woow_backend/offline/woow_backend-offline-ib-129-Data.db sections=77 progress=22499/462727 - 4% woow_backend: /data/woow_backend/rooms/woow_backend-rooms-ib-2-Data.db sections=1 progress=0/308 - 0% woow_backend: /data/woow_backend/roster_versions/woow_backend-roster_versions-ib-33-Data.db sections=93 progress=0/34246 - 0% woow_backend: /data/woow_backend/rooms/woow_backend-rooms-ib-1-Data.db sections=1 progress=0/310 - 0% Pool Name Active Pending Completed Commands n/a 0 15 Responses n/a 0 44808 Thanks, Gabi