Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 34562 invoked from network); 7 Feb 2011 18:24:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Feb 2011 18:24:37 -0000 Received: (qmail 2301 invoked by uid 500); 7 Feb 2011 18:24:36 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 2169 invoked by uid 500); 7 Feb 2011 18:24:35 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 2155 invoked by uid 99); 7 Feb 2011 18:24:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 18:24:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of groupsvkg@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 18:24:27 +0000 Received: by wwa36 with SMTP id 36so5182253wwa.25 for ; Mon, 07 Feb 2011 10:24:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=TQ2a0ZVGBM+EHJ2kbbyfZ+0OUcbnH+dqzJVepbQZLXs=; b=K1gu2SF+noRKqvTzSUPsJc9sb8HUSJaDR4lJzO14D6+0K61aOunLV+87KsEa4WNoKA K2/+y2s8Nm9xVtU4by42f3BRaxH8+QvR1dBjuUiYW07gGK5jAkBjG07f3mFAbfaJXf8l rHliFoZfAuuFddVsjtpUqSWUsZ2tuVILBpXx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qFOYw+3mmIUb7V86Dgt884uNsELIdLWDA+eG/Mdwr77DxOBWoyQVwvvDiaeEppOIdB 01RuaTx+n1wXWoE96IQt+svvzOxt+fINuQHHvkyuGHattJWQHURRFqVIJulNUahpeopW emPuD+JxtV3nZvuOAXTaPfsG9KJqMAc9i8TDo= MIME-Version: 1.0 Received: by 10.227.127.65 with SMTP id f1mr15120274wbs.209.1297103045159; Mon, 07 Feb 2011 10:24:05 -0800 (PST) Received: by 10.227.131.224 with HTTP; Mon, 7 Feb 2011 10:24:04 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Feb 2011 23:54:04 +0530 Message-ID: Subject: Re: Using Cassandra-cli From: Vishal Gupta To: dev@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016367fba5c3e6c46049bb556bd --0016367fba5c3e6c46049bb556bd Content-Type: text/plain; charset=ISO-8859-1 Hi, there is a README.txt file in CASSANDRA_HOME which presents clear steps to use get and set command. Also i guess you need to first use Keyspace and then fire set command. Regards, vishal On Mon, Feb 7, 2011 at 11:43 PM, Eranda Sooriyabandara <070468d@gmail.com>wrote: > Hi all, > I tried Cassandra cli option in my machine. Here are my cli commands and > the > outputs. > > >>./cassandra-cli -host localhost -port 9160 -username eranda -keyspace > keyspace1 -password eranda > Keyspace 'keyspace1' not found. > > >>./cassandra-cli -host localhost -port 9160 > Connected to: "Test Cluster" on localhost/9160 > Welcome to cassandra CLI. > > [default@unknown] set keyspace1.standard['emahesh']['first']='eranda'; > Syntax error at position 13: mismatched input '.' expecting '[' > > As the output say my commands did not work well. Here I used the commands > which is in http://wiki.apache.org/cassandra/CassandraCli. I couldn't find > the error of mine. Can anyone please help me to figure out the error. > > thanks > Eranda > --0016367fba5c3e6c46049bb556bd--