Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "GettingStarted" page has been changed by TylerHobbs: https://wiki.apache.org/cassandra/GettingStarted?action=diff&rev1=99&rev2=100 Comment: Various improvements to GettingStarted . Users of recent Linux distributions and Mac OS X Snow Leopard should be able to start up Cassandra simply by untarring and invoking `bin/cassandra -f` with root privileges. Snow Leopard ships with Java 1.6.0 and does not require changing the `JAVA_HOME` environment variable or adding any directory to your `PATH`. On Linux just make sure you have a working Java JDK package installed such as the `openjdk-6-jdk` on Ubuntu Lucid Lynx. == Step 4: Using cqlsh == - `bin/cqlsh` is an interactive command line interface for Cassandra. You can define the schema and interact with data using it. Run the following command to connect to your local Cassandra instance: + `bin/cqlsh` is an interactive command line interface for Cassandra. cqlsh allows you to execute CQL (Cassandra Query Language) statements against Cassandra. Using CQL, you can define a schema, insert data, execute queries. Run the following command to connect to your local Cassandra instance with cqlsh: {{{ $ bin/cqlsh @@ -126, +126 @@ 1746 | john | smith }}} - == Write your application == + == Write your Application == - Review the resources on how to DataModel. The full CQL documentation is [[http://www.datastax.com/documentation/cql/3.0/webhelp/index.html|here]]. + To connect to Cassandra, you'll need a database driver for your language of choice. DataStax sponsors development of CQL drivers at https://github.com/datastax. A full list of CQL drivers can be found on the ClientOptions page. - DataStax sponsors development of the CQL drivers at https://github.com/datastax. The full list of CQL drivers is on the ClientOptions page. + When deciding how to design your schema and layout your data, it will be helpful to review the resources on how to DataModel. + + You may also want to read the [[http://www.datastax.com/documentation/cql/3.0/webhelp/index.html|full CQL documentation]]. == Configuring Multinode Clusters == Now you have single working Cassandra node. It is a Cassandra cluster which has only one node. By adding more nodes, you can make it a multi node cluster. @@ -143, +145 @@ Once everything is configured and the nodes are running, use the `bin/nodetool status` utility to verify a properly connected cluster. For example: {{{ - eevans@achilles:‾$ bin/nodetool -host 192.168.0.10 -p 7199 status + $ bin/nodetool -host 192.168.0.10 -p 7199 status Datacenter: datacenter1 ======================= Status=Up/Down