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 C03B71083B for ; Mon, 26 Aug 2013 04:32:25 +0000 (UTC) Received: (qmail 50584 invoked by uid 500); 26 Aug 2013 04:32:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 50555 invoked by uid 500); 26 Aug 2013 04:32:19 -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 50546 invoked by uid 99); 26 Aug 2013 04:32:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 04:32:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mishra.vivs@gmail.com designates 209.85.215.181 as permitted sender) Received: from [209.85.215.181] (HELO mail-ea0-f181.google.com) (209.85.215.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 04:32:14 +0000 Received: by mail-ea0-f181.google.com with SMTP id d10so1363913eaj.12 for ; Sun, 25 Aug 2013 21:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nEEl4YxHQUu+wP3+o5TrjBOxaHlI7eYpL6vdrudawjA=; b=TT76ehs+yyXB0lvovPSEO140KJQA+xpynYr3OY9CH3TxoPdR4X7MPiPGf/NTRdaRcb YV7/EnNEVP86BM3KXDvji7adKZnptmz3tH6kRunLdc5F+mEMhck4lDbULmUQbvVCgA9x qaIZ6FwKC/BuBGxxUpo5+yYtuvla199JoGk3Ife5zDc5nAgXn6D6R/N/qAmsY8xyWDB/ soUECtY+ci9Ug4fhWhh6L5AqDhi6VZHdrW9YDaxl31y5cbm4OkhZ6GOxeiN8YUpt32ZU spQA/KRwxNW5RafyWGGT/5cn5S4TzGcY2hqmdz/AqhJu+PnHI0AAPOO7BRYNAO4HFWWM D20Q== MIME-Version: 1.0 X-Received: by 10.14.219.198 with SMTP id m46mr22374192eep.41.1377491513351; Sun, 25 Aug 2013 21:31:53 -0700 (PDT) Received: by 10.223.200.4 with HTTP; Sun, 25 Aug 2013 21:31:53 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Aug 2013 10:01:53 +0530 Message-ID: Subject: Re: Issue with CQLsh From: Vivek Mishra To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b60399c55cd1e04e4d23c14 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b60399c55cd1e04e4d23c14 Content-Type: text/plain; charset=ISO-8859-1 I understand that CQL <-> Thrift interoperability is an issue. For Application which were build earlier(using thrift) there must be a way and it should be at least give some error message, but it simply hangs with out any error. -Vivek On Mon, Aug 26, 2013 at 8:42 AM, Jonathan Haddad wrote: > My understanding is that if you want to use CQL, you should create your > tables via CQL. Mixing thrift calls w/ CQL seems like it's just asking for > problems like this. > > > On Sun, Aug 25, 2013 at 6:53 PM, Vivek Mishra wrote: > >> cassandra 1.2.4 >> >> >> On Mon, Aug 26, 2013 at 2:51 AM, Nate McCall wrote: >> >>> What version of cassandra are you using? >>> >>> >>> On Sun, Aug 25, 2013 at 8:34 AM, Vivek Mishra wrote: >>> >>>> Hi, >>>> I have created a column family using Cassandra-cli as: >>>> >>>> create column family default; >>>> >>>> and then inserted some record as: >>>> >>>> set default[1]['type']='bytes'; >>>> >>>> Then i tried to alter table it via cqlsh as: >>>> >>>> alter table default alter key type text; // it works >>>> >>>> alter table default alter column1 type text; // it goes for a toss >>>> >>>> surprisingly any command after that, simple hangs and i need to reset >>>> connection. >>>> >>>> >>>> Any suggestions? >>>> >>>> >>>> >>>> >>>> >>> >> > > > -- > Jon Haddad > http://www.rustyrazorblade.com > skype: rustyrazorblade > --047d7b60399c55cd1e04e4d23c14 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I understand that CQL <-> Thrift interoperability is= an issue. For Application which were build earlier(using thrift) there mus= t be a way and it should be at least give some error message, but it simply= hangs with out any error.

-Vivek


<= div class=3D"gmail_quote">On Mon, Aug 26, 2013 at 8:42 AM, Jonathan Haddad = <jon@jonhaddad.com> wrote:
My understanding is that if= you want to use CQL, you should create your tables via CQL. =A0Mixing thri= ft calls w/ CQL seems like it's just asking for problems like this.


On Sun, Aug 25, 2013 at 6:53 PM, Vivek Mishra <mishra.vivs@gmail.com> wrote:
cassandra 1.2.4


On Mon, Aug 26, 2013 at 2:51 AM, Nate McCall <nate@thelastpickle.com> wrote:
What version of cassandra a= re you using?


On Sun, Aug 25, 2013 at 8:34 AM, Vivek M= ishra <mishra.vivs@gmail.com> wrote:
Hi,
I have created a co= lumn family using Cassandra-cli as:

=09 =09 =09

create column family default;

and then inserted some re= cord as:

=09 =09 =09

set default[1]['type']=3D'bytes';

Then i tried to alter table it via cqlsh as:

alter table default alter key t= ype text; =A0// it works

alter tab= le default alter column1 type text; // it goes for a toss

surprisingly any command after that, simple hangs and i ne= ed to reset connection.


Any s= uggestions?=A0



=







--
Jon Haddad
http://www.rustyrazorblade.c= om
skype: rustyrazorblade

--047d7b60399c55cd1e04e4d23c14--