cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "CassandraCli" by FHackenberger
Date Fri, 15 Apr 2011 22:27:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "CassandraCli" page has been changed by FHackenberger.
http://wiki.apache.org/cassandra/CassandraCli?action=diff&rev1=35&rev2=36

--------------------------------------------------

  
  We went on to connect to our local Cassandra node. We created keyspace `Twissandra` and
column family `User`. Note that with the column family, we used a UTF8Type comparator.  That
means that the columns will be sorted based on UTF8Type sorting.  It also means that when
the column names are displayed on the command-line, they will be displayed as UTF8Type (readable)
text. For more information and options for creating column families type `help create column
family;` on the command line. Finally, we exited from our cli shell.
  
- Let's get back into the shell with some options specified and create some data.
+ Let's get back into the shell with some options specified and create some data. You should
be aware that using the right assumption for your column family keys is 'essential' for the
CLI to work correctly. None of the data retrieval/manipulation commands will work as expected
if the key assumption is wrong. If you are just exploring cassandra from the CLI, you can
leave the assumptions at their defaults, though.
  
  {{{
  tblose@quasar:~/dev/workspaces/cassandra$ bin/cassandra-cli -host localhost -port 9160

Mime
View raw message