Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4EFD8200B88 for ; Thu, 22 Sep 2016 17:01:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4DA41160AAD; Thu, 22 Sep 2016 15:01:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 64525160AA9 for ; Thu, 22 Sep 2016 17:01:32 +0200 (CEST) Received: (qmail 19401 invoked by uid 500); 22 Sep 2016 15:01:30 -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 19391 invoked by uid 99); 22 Sep 2016 15:01:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2016 15:01:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 738DF1A52E7 for ; Thu, 22 Sep 2016 15:01:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VdRc_3Nffh3L for ; Thu, 22 Sep 2016 15:01:26 +0000 (UTC) Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 603055F5CD for ; Thu, 22 Sep 2016 15:01:26 +0000 (UTC) Received: by mail-ua0-f173.google.com with SMTP id 107so2053454uah.2 for ; Thu, 22 Sep 2016 08:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=r4RwheCxyz3TG9gF+8HJ/D6qSKQqWviv3lApkmTVbyA=; b=aWXHHEgx1YRreeaf7PEZ9TNU/Ej2gA8ig3Y9Sw9rYFB84o7Kcf3tgfyhkFboOfDKbA ZQQwS3/3gn25TyILqmmw0SHHYUl5gscExF0j7dRVtnQhkfRJaFDArF3izT46r6Xg+BfJ +nyGDCeKCL3oFAJv/2n3A0BtDM7zKLwI4+0ZHm9DKhz3Qkmvb4JJNhZ0qqSImUJhJOF7 HXvdwQsATkjcLGxbaMAre76dT5TnAYHJpQSejR8R1emWiMo3iIXvN/PhhYTK1+MUw32P bzMPmV9qs7v/PwXrmhNwm6elNKNCAFWhRno6+8ltvoKj73vmv6Ono42pGjT/CG4foWpZ IBZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=r4RwheCxyz3TG9gF+8HJ/D6qSKQqWviv3lApkmTVbyA=; b=AhoFEcnqNefcS1lZD+4S549FNsJD967b/Z0PMKQ+yluwYmButmS3rgWcJcK0GSQ8DU S0DkvkiMsRrgooSXZkUi/0BKtPg+CK/ekT+JvLGai/22dB+gE0i3N48WckH0qiXVmaky 6LbU2pd0OZVmLDvCUFQ0/x8pgy82cNeZTCfJRcfws2/623p8dZGhVkklnAUsMzOwi1mO ba9+C+yJXBE9/QvvWWcBUD2hK9/E3fkqjc0c9WMnByT0m2mZY+zwkJidI6fk0GS0zDo8 MdthNmYsYjIAfBMhuWtfgGiAylvNNFaQx5oE5+Ls5Hs1HLAMHeF+SoG7aKwg06anLPnW OjAw== X-Gm-Message-State: AE9vXwM8BzjxfkzjauAzI9vtMNiRT085Lyh0rnq7jhHWOcqnDRPTigAMBErnGCw3yOdPnXQD/ItDX+/OjERlzQ== X-Received: by 10.159.33.168 with SMTP id 37mr259902uac.41.1474556480184; Thu, 22 Sep 2016 08:01:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.38.116 with HTTP; Thu, 22 Sep 2016 08:00:59 -0700 (PDT) In-Reply-To: References: From: Alain RODRIGUEZ Date: Thu, 22 Sep 2016 17:00:59 +0200 Message-ID: Subject: Re: Rebuild failing when adding new datacenter (3.0.8) To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a113df53c33e872053d19ef90 archived-at: Thu, 22 Sep 2016 15:01:33 -0000 --001a113df53c33e872053d19ef90 Content-Type: text/plain; charset=UTF-8 It could be a bug. Yet I am not very aware of this system_distributed keyspace, but from what I see, it is using a simple strategy: root@tlp-cassandra-2:~# echo "DESCRIBE KEYSPACE system_distributed;" | cqlsh $(hostname -I | awk '{print $1}') CREATE KEYSPACE system_distributed WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '3'} AND durable_writes = true; Let's first check some stuff. Could you share the output of: - echo "DESCRIBE KEYSPACE system_distributed;" | cqlsh [ip_address_of_the_server] - nodetool status - nodetool status system_distributed - Let us know about the snitch you are using and the corresponding configuration. I am trying to make sure the command you used is expected to work, given your setup. My guess is this you might need to alter this keyspace accordingly to your cluster setup. Just guessing, hope that helps. C*heers, ----------------------- Alain Rodriguez - @arodream - alain@thelastpickle.com France The Last Pickle - Apache Cassandra Consulting http://www.thelastpickle.com 2016-09-22 15:47 GMT+02:00 Timo Ahokas : > Hi, > > We have a Cassandra 3.0.8 cluster (recently upgraded from 2.1.15) > currently running in two data centers (13 and 19 nodes, RF3 in both). We > are adding a third data center before decommissioning one of the earlier > ones. Installing Cassandra (3.0.8) goes fine and all the nodes join the > cluster (not set to bootstrap, as documented in > https://docs.datastax.com/en/cassandra/3.0/cassandra/ > operations/opsAddDCToCluster.html). > > When trying to rebuild nodes in the new DC from a previous DC (nodetool > rebuild -- DC1), we get the following error: > > Unable to find sufficient sources for streaming range (597769692463489739,597931451954862346] > in keyspace system_distributed > > The same error occurs which ever of the 2 existing DCs we try to rebuild > from. > > We run pr repairs (nodetool repair -pr) on all nodes twice a week via cron. > > Any advice on how to get the rebuild started? > > Best regards, > Timo > > > > > --001a113df53c33e872053d19ef90 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It could be a bug.

Yet I am not very aw= are of this system_distributed keyspace, but from what I see, it is using a= simple strategy:

root@tlp-cassandra-2:~# echo "DESCRIBE KEYSPACE sys= tem_distributed;" | cqlsh $(hostname -I | awk '{print $1}')

CREATE KEYSPACE system_distributed WITH replication =3D = {'class': 'SimpleStrategy', 'replication_factor': &= #39;3'}=C2=A0 AND durable_writes =3D true;


Let's first check some stuff. Could you share the output of:

  • echo "DESCRIBE KEYSPACE system_distrib= uted;" | cqlsh [ip_address_of_the_server]
  • nodetool status<= br>
  • nodetool status=C2=A0system_distributed
  • Let us know= about the snitch you are using and the corresponding configuration.

I am trying to make sure the command you used = is expected to work, given your setup.

My gu= ess is this you might need to alter this keyspace accordingly to your clust= er setup.

Just guessing, hope that helps.

C*heers,
-----------------------
= Alain Rodriguez - @arodream - al= ain@thelastpickle.com
France

The Las= t Pickle - Apache Cassandra Consulting

2016-09-22 15:47 GMT+02:00 = Timo Ahokas <timo.ahokas@gmail.com>:
Hi,

We have a Cassandra = 3.0.8 cluster (recently upgraded from 2.1.15) currently running in two data= centers (13 and 19 nodes, RF3 in both). We are adding a third data center = before decommissioning one of the earlier ones. Installing Cassandra (3.0.8= ) goes fine and all the nodes join the cluster (not set to bootstrap, as do= cumented in https://docs.datastax= .com/en/cassandra/3.0/cassandra/operations/opsAddDCToCluster.html).

When trying to rebuild nodes in the ne= w DC from a previous DC (nodetool rebuild -- DC1), we get the following err= or:

Unable to find sufficient sources for streamin= g range (597769692463489739,597931451954862346] in keyspace system_dis= tributed

The same error occurs which ever of t= he 2 existing DCs we try to rebuild from.

We run p= r repairs (nodetool repair -pr) on all nodes twice a week via cron.

Any advice on how to get the rebuild started?
<= br>
Best regards,
Timo





--001a113df53c33e872053d19ef90--