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 57C0E178DD for ; Tue, 3 Feb 2015 15:47:59 +0000 (UTC) Received: (qmail 12017 invoked by uid 500); 3 Feb 2015 15:47:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 11977 invoked by uid 500); 3 Feb 2015 15:47:57 -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 11967 invoked by uid 99); 3 Feb 2015 15:47:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 15:47:57 +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 (athena.apache.org: domain of clint.kelly@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 15:47:50 +0000 Received: by mail-ob0-f172.google.com with SMTP id nt9so19432370obb.3 for ; Tue, 03 Feb 2015 07:47:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DZFZL985HgJ599Vhev/98M1subq5bRzVQcN2Tr76Pb4=; b=AkqWh6ZF88yJfzgRCPhv8GurleFSGG2MFu2pkRjLqRkFIdpOm9l7XixfvKQ2SuTiQ2 ytTtjnAgTUT3kbzlbXQdWYNrcAMdiZmMZDrDlZkI2uSZtRI1+YhjJYQboBGykJx42qTQ +HqSEEuXJvO3QGV7ahc3nzGc31thObGkJ348HQhq8WOACEl3i0DiPFwBbdko27vOHc7F PnAVMUdRnvgypO9fBiHsh0fKNIce2yCLeDuS+LJLvgbKGrZ60udnIcGuxZWsWYXMRtkl lonLx9qCC7wK8ZiF9lxJehEZ/38o4XjkJu/L8gazOK8T0JWtRpI4ll4nufnGoMBhfBkX /QrQ== MIME-Version: 1.0 X-Received: by 10.182.250.193 with SMTP id ze1mr16053375obc.70.1422978449598; Tue, 03 Feb 2015 07:47:29 -0800 (PST) Received: by 10.202.180.3 with HTTP; Tue, 3 Feb 2015 07:47:29 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Feb 2015 07:47:29 -0800 Message-ID: Subject: Re: No schema agreement from live replicas? From: Clint Kelly To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org FWIW increasing the threshold for withMaxSchemaAgreementWaitSeconds to 30sec was enough to fix my problem---I would like to understand whether the cluster has some kind of configuration problem that made doing so necessary, however. Thanks! On Tue, Feb 3, 2015 at 7:44 AM, Clint Kelly wrote: > Hi all, > > I have an application that uses the Java driver to create a table and then > immediately write to it. I see the following warning in my logs: > > [10.241.17.134] out: 15/02/03 09:32:24 WARN > com.datastax.driver.core.Cluster: No schema agreement from live replicas > after 10 s. The schema may not be up to date on some nodes. > > ...this seems to happen after creating a table, and the schema not being up > to date leads to errors when trying to write the the new tables: > > [10.241.17.134] out: Exception in thread "main" > com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured > columnfamily schema_hash > > Any suggestions on what to do about this (other than increasing > "withMaxSchemaAgreementWaitSeconds")? This is only a three-node test > cluster. I have not gotten this warning before, even on much bigger > clusters. > > Best regards, > Clint