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 BF5089B3C for ; Fri, 24 Aug 2012 01:55:01 +0000 (UTC) Received: (qmail 36428 invoked by uid 500); 24 Aug 2012 01:54:59 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 36398 invoked by uid 500); 24 Aug 2012 01:54:59 -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 36387 invoked by uid 99); 24 Aug 2012 01:54:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 01:54:59 +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 r@rcrowley.org designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 01:54:50 +0000 Received: by iabz21 with SMTP id z21so2623446iab.31 for ; Thu, 23 Aug 2012 18:54:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=DqGghZwlfAjpGflFmuBuAbfODZmNiHE11K5BDGWczWM=; b=hffQwXopr6KXNl3N/b9V7hvPKF+b1LTclYF/z+/zIG5pscQh3hl7HGfz0fZaSrujyh CDXUlNZte31F4tIUt7hBRaxpDm9HG2R5nQuiuqBhiLscyMksUZxSHDdwY0m6PL4a/i/O fwfEI9R+sOKKUH4H/yH8MdGDfeSeYXYLMopqrTKefQumfeU78tB8BwrbIalXQ8R69NkM Dkwc6yv+qfI05vYXTPfiKEz0hqdSc8zDz4qLe+zX+YfbWmE91qeb9MHh5h76BAURkLSd TKqWG8KoSsRi+wAHcy/Ai53WA0ZPCpQ+L2zbX6tpNBtTbNxoMzzCKrPBu6iBsa772wbG kH/w== MIME-Version: 1.0 Received: by 10.50.168.106 with SMTP id zv10mr471944igb.13.1345773268970; Thu, 23 Aug 2012 18:54:28 -0700 (PDT) Received: by 10.64.91.161 with HTTP; Thu, 23 Aug 2012 18:54:28 -0700 (PDT) X-Originating-IP: [208.66.27.13] Date: Thu, 23 Aug 2012 18:54:28 -0700 Message-ID: Subject: Secondary index partially created From: Richard Crowley To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmdlnZxUWh9EI01idXWIWG3AlSOQrrxtppvSrQIwJUr6CnW7Uj4RPUQs5h6xxuYMmq2LYWG I have a three-node cluster running Cassandra 1.0.10. In this cluster is a keyspace with RF=3. I *updated* a column family via Astyanax to add a column definition with an index on that column. Then I ran a backfill to populate the column in every row. Then I tried to query the index from Java and it failed but so did cassandra-cli: get my_column_family where my_column = 'my_value'; Two out of the three nodes are unable to query the new index and throw this error: InvalidRequestException(why:No indexed columns present in index clause with operator EQ) The third is able to query the new index happily but doesn't find any results, even when I expect it to. `describe cluster;` in cassandra-cli confirms that all three nodes have the same schema and `show schema;` confirms that schema includes the new column definition and its index. The my_column_family.my_index-hd-* files only exist on that one node that can query the index. I ran `nodetool repair` on each node and waited for `nodetool compactionstats` to report zero pending tasks. Ditto for `nodetool compact`. The nodes that failed still fail. The node that succeeded still succeed. Can anyone shed some light? How do I convince it to let me query the index from any node? How do I get it to find results? Thanks, Richard