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 C1D2B6BEF for ; Tue, 7 Jun 2011 18:45:24 +0000 (UTC) Received: (qmail 61229 invoked by uid 500); 7 Jun 2011 18:45:22 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 61204 invoked by uid 500); 7 Jun 2011 18:45:22 -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 61196 invoked by uid 99); 7 Jun 2011 18:45:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 18:45:22 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [204.13.248.66] (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 18:45:16 +0000 Received: from 71-218-75-109.hlrn.qwest.net ([71.218.75.109] helo=[192.168.0.2]) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1QU1Gp-0005fT-Mh for user@cassandra.apache.org; Tue, 07 Jun 2011 18:44:55 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 71.218.75.109 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19bUQQYI1la8lshgHs/U43S85IHI0UsZvw= Message-ID: <4DEE71A2.4020804@dude.podzone.net> Date: Tue, 07 Jun 2011 12:44:50 -0600 From: AJ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: CLI set command returns null References: <4DEE6C5C.4010904@dude.podzone.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The log only shows INFO level messages about flushes, etc.. The debug mode of the CLI shows an exception after the set: [al@mars ~]$ cassandra-cli -h 192.168.1.101 --debug Connected to: "Test Cluster" on 192.168.1.101/9160 Welcome to the Cassandra CLI. Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit. [default@unknown] use Keyspace1; Authenticated to keyspace: Keyspace1 [default@Keyspace1] set User[1]['name']='aaa'; null java.lang.RuntimeException at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:292) at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217) at org.apache.cassandra.cli.CliMain.main(CliMain.java:345) [default@Keyspace1] On 6/7/2011 12:27 PM, Jonathan Ellis wrote: > try running cli with --debug > > On Tue, Jun 7, 2011 at 1:22 PM, AJ wrote: >> Ver 0.8.0. >> >> Please help. I don't know what I'm doing wrong. One simple keyspace with >> one simple CF with one simple column. I've tried two simple tutorials. Is >> there a common newbie mistake I could be making??? >> >> Thanks in advance! >> >> >> [default@Keyspace1] describe keyspace; >> Keyspace: Keyspace1: >> Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy >> Options: [replication_factor:1] >> Column Families: >> ColumnFamily: User >> Key Validation Class: org.apache.cassandra.db.marshal.LongType >> Default column value validator: >> org.apache.cassandra.db.marshal.UTF8Type >> Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type >> Row cache size / save period in seconds: 0.0/0 >> Key cache size / save period in seconds: 200000.0/14400 >> Memtable thresholds: 0.2859375/61/1440 (millions of ops/MB/minutes) >> GC grace seconds: 864000 >> Compaction min/max thresholds: 4/32 >> Read repair chance: 1.0 >> Replicate on write: false >> Built indexes: [] >> Column Metadata: >> Column Name: name >> Validation Class: org.apache.cassandra.db.marshal.UTF8Type >> [default@Keyspace1] >> [default@Keyspace1] set User[long(1)][utf8('name')]=utf8('aaa'); >> null >> [default@Keyspace1] set User[1]['name']='aaa'; >> null >> [default@Keyspace1] >> [default@Keyspace1] list User; >> Using default limit of 100 >> null >> [default@Keyspace1] >> >> >> >> > >