incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: CLI set command returns null
Date Tue, 07 Jun 2011 18:27:04 GMT
try running cli with --debug

On Tue, Jun 7, 2011 at 1:22 PM, AJ <aj@dude.podzone.net> 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]
>
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message