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 E49B3179DB for ; Fri, 22 Jan 2016 08:57:57 +0000 (UTC) Received: (qmail 35301 invoked by uid 500); 22 Jan 2016 08:57:52 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35256 invoked by uid 500); 22 Jan 2016 08:57:52 -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 35246 invoked by uid 99); 22 Jan 2016 08:57:52 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2016 08:57:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1D7DCC026B for ; Fri, 22 Jan 2016 08:57:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id bR3h5gliEJ_U for ; Fri, 22 Jan 2016 08:57:51 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 86ED024C0C for ; Fri, 22 Jan 2016 08:57:50 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id u188so10107092wmu.1 for ; Fri, 22 Jan 2016 00:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tfzIlkTTEzCl8Tgqm6SYoNdukTAw8t8V4HVt1S5V2Jg=; b=sHAXo4EBkGVhf5PCXAMogh8+3eRl3IJ9xHQmYVT2oMK4NA1ikGKr1sP1G3Z3gl1rkk MEgFnp3NAhOl2xG6G4tPc4i91EIBSOWXEA0TG/a8MjJn0DcYkYo1l3Y3MRJ4EsTnJtVd dqZa4I5zwdIG/YHbto1n7WsdIdfxnbEBWBS8O/++lJr23ntfyGkkg0YbEVhYbL7JVgmi IrnXSFJvytS12T6UV3xeqbjoMksdHG+NTP0Z7Szt09qv1K/bl2KTxXaw5INIkM2IofYJ Oz3wpKayUGsZMrazxPxT4pj+vfJt734G3JA/yLSUMKSqn/XrW1NDoY6lLkVY5OkWlnKo jCUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=tfzIlkTTEzCl8Tgqm6SYoNdukTAw8t8V4HVt1S5V2Jg=; b=LDl6uNjrtWwL66LjLTwsE8B/NSd5v37bTTrGJEVBXJxMTEx59+zEItml8UBUtiB5Yh Kj1zC7x3bFm0NvDJkgWmvRV8bYwIuT0Sz7c/2d1iUFEINJELJ9o4AA1NEA4+VhQfqcjx tdHGbfCp3zc5GUZDy7NnTPVM4eRtUztpCl16g1WzigKgpzPU/8j2X6RIbVq36Ck7MIrP JQZYjng05JFkZC8OfnxY7B/2SLPRisW8PauOPkKjfsb9a4Wfv8ZY+pH9Vcc5x6DhetCr SULd9zHey8pGAZDJgVImSKN+WWF2CiDV2HYZ0FQ9BusD/2PjudNUV6vjw9mdAYfSMvM9 /Lrw== X-Gm-Message-State: AG10YOQOjysXm4vNV2OnWDJhHARyKG9XbI4QCPrdteDljb7BA29ko1Y15uE+L1sFGpTpMbEO+4inN0Od/umOLw== MIME-Version: 1.0 X-Received: by 10.194.133.10 with SMTP id oy10mr1796975wjb.93.1453453070113; Fri, 22 Jan 2016 00:57:50 -0800 (PST) Received: by 10.194.248.225 with HTTP; Fri, 22 Jan 2016 00:57:50 -0800 (PST) Date: Fri, 22 Jan 2016 14:27:50 +0530 Message-ID: Subject: Getting error while issuing Cassandra stress From: Bhuvan Rawal To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=089e01177bc1f1274a0529e86963 --089e01177bc1f1274a0529e86963 Content-Type: text/plain; charset=UTF-8 Hi, i have created a POC cluster with 2 DC , each having 4 nodes with DSE 4.8.1 installed. On issuing cassandra stress im getting an error and data is not being inserted: *com.datastax.driver.core.exceptions.UnavailableException: Not enough replica available for query at consistency LOCAL_ONE (1 required but only 0 alive)* However, Im able to create keyspace, tables and insert data using cqlsh and it is replicating fine to all the nodes. Details of the cluster can be found below (all the nodes seem to be alive and kicking): $ nodetool status Datacenter: Analytics ===================== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns Host ID Rack UN 10.41.55.17 428.5 KB 256 ? 39d6d585-e641-4046-9d0b-797356597b5e rack1 UN 10.41.55.19 404.44 KB 256 ? 69edf930-efd9-4d74-a798-f3d4ac02e516 rack1 UN 10.41.55.18 423.21 KB 256 ? b74bab13-09b2-4760-bce9-c8ef05e50f6d rack1 UN 10.41.55.20 683.23 KB 256 ? fb5c4fed-6e1e-4ea8-838d-358106906830 rack1 Datacenter: Cassandra ===================== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns Host ID Rack UN 10.41.55.15 209.4 KB 256 ? ffc3b9a0-5d5c-4a3d-a99e-49d255731278 rack1 UN 10.41.55.21 227.44 KB 256 ? c68deba4-b9a2-43fc-bb13-6af74c88c210 rack1 UN 10.41.55.23 222.71 KB 256 ? 8229aa87-af00-48fa-ad6b-3066d3dc0e58 rack1 UN 10.41.55.22 218.72 KB 256 ? c7ba84fd-7992-41de-8c88-11574a72db99 rack1 Regards, Bhuvan Rawal --089e01177bc1f1274a0529e86963 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

i have created a POC cluster with 2= DC , each having 4 nodes with DSE 4.8.1 installed.=C2=A0

On issuing cassandra stress im getting an error =C2=A0and data is n= ot being inserted:
com.datastax.driver.core.exceptions.Unavail= ableException: Not enough replica available for query at consistency LOCAL_= ONE (1 required but only 0 alive)

However, Im = able to create keyspace, tables and insert data using cqlsh and it is repli= cating fine to all the nodes.

Details of the clust= er can be found below (all the nodes seem to be alive and kicking):

$ nodetool status Datacenter: Analytics =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Status=3DUp/Down |/ State=3DNormal/Leaving/Joining/Moving -- Address = Load Tokens Owns Host ID Rack UN 10.41.55.17 428.5 KB 256 ? 39d6d585-e641-4046-9d0b-7973565= 97b5e rack1 UN 10.41.55.19 404.44 KB 256 ? 69edf930-efd9-4d74-a798-f3d4ac0= 2e516 rack1 UN 10.41.55.18 423.21 KB 256 ? b74bab13-09b2-4760-bce9-c8ef05e= 50f6d rack1 UN 10.41.55.20 683.23 KB 256 ? fb5c4fed-6e1e-4ea8-838d-3581069= 06830 rack1 Datacenter: Cassandra =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Status=3DUp/Down |/ State=3DNormal/Leaving/Joining/Moving -- Address = Load Tokens Owns Host ID Rack UN 10.41.55.15 209.4 KB 256 ? ffc3b9a0-5d5c-4a3d-a99e-49d2557= 31278 rack1 UN 10.41.55.21 227.44 KB 256 ? c68deba4-b9a2-43fc-bb13-6af74c8= 8c210 rack1 UN 10.41.55.23 222.71 KB 256 ? 8229aa87-af00-48fa-ad6b-3066d3d= c0e58 rack1 UN 10.41.55.22 218.72 KB 256 ? c7ba84fd-7992-41de-8c88-11574a7= 2db99 rack1

Regards,
Bhuvan Rawal


<= /span>
--089e01177bc1f1274a0529e86963--