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 214A6900D for ; Mon, 9 Jan 2012 10:58:44 +0000 (UTC) Received: (qmail 84825 invoked by uid 500); 9 Jan 2012 10:58:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 84512 invoked by uid 500); 9 Jan 2012 10:58:31 -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 84504 invoked by uid 99); 9 Jan 2012 10:58:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 10:58:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 10:58:23 +0000 Received: by vcbfk13 with SMTP id fk13so2784327vcb.31 for ; Mon, 09 Jan 2012 02:58:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.229.200 with SMTP id jj8mr6004547vcb.53.1326106680928; Mon, 09 Jan 2012 02:58:00 -0800 (PST) Received: by 10.52.29.67 with HTTP; Mon, 9 Jan 2012 02:58:00 -0800 (PST) In-Reply-To: <4200127.11208471326106117622.JavaMail.defaultUser@defaultHost> References: <4200127.11208471326106117622.JavaMail.defaultUser@defaultHost> Date: Mon, 9 Jan 2012 11:58:00 +0100 Message-ID: Subject: Re: Re: Schema clone ... From: "R. Verlangen" To: user@cassandra.apache.org, "cbertu81@libero.it" Content-Type: multipart/alternative; boundary=14dae9cdc859a6a92404b6164578 --14dae9cdc859a6a92404b6164578 Content-Type: text/plain; charset=ISO-8859-1 A "null" response is most of the times an exception, try to take a look at the Cassandra logs to find out what causes the problem. 2012/1/9 cbertu81@libero.it > I was just trying it but ... in 0.7 CLI there is no show schema command. > > When I connect with 1.0 CLI to my 0.7 cluster ... > > > [default@social] show schema; > > null > > > I always get a "null" as answer! :-| > > Any tip for this? > > > ty, Cheers > > > Carlo > > ----Messaggio originale---- > Da: aaron@thelastpickle.com > Data: 09/01/2012 11.33 > A: , "cbertu81@libero.it" > Ogg: Re: Schema clone ... > > Try show schema in the CLI. > > Cheers > > ----------------- > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 9/01/2012, at 11:12 PM, cbertu81@libero.it wrote: > > Hi, > I have create a new dev-cluster with cassandra 1.0 -- I would like to have > the > same CFs that I have in the 0.7 one but I don't need data to be there, > just the > schema. Which is the fastest way to do it without making 30 "create column > family ..." > > Best regards, > > Carlo > > > > > > > --14dae9cdc859a6a92404b6164578 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable A "null" response is most of the times an exception, try to take = a look at the Cassandra logs to find out what causes the problem.

2012/1/9 cbe= rtu81@libero.it <cbertu81@libero.it>

<= /p>

I was just tryin= g it but ... in 0.7 CLI there is no show schema command.

When I connect with= 1.0 CLI to my 0.7 cluster ...

=

[default@social= ] show schema;

n= ull


I always ge= t a "null" as answer! :-|

Any tip for this?


ty, Cheers= =A0


Carlo


----Messaggio originale----
Da: aaron@thel= astpickle.com
Data: 09/01/2012 11.33
A: <user@= cassandra.apache.org>, "cbertu81@libero.it"<cbertu81@libero.it>
Ogg: Re: Schema clone ...

Try=A0show schema in the CLI.=A0

Cheers

-----------------
Aaron Morton
Freelance Deve= loper
@aaronmorton

On 9/01/2012, at 11:12 PM, cbertu81@libero.it wrote:

Hi,
I have create a new dev-cluster with cassandra 1.0 = -- I would like to have the
same CFs that I have in the 0.7 one but I don't need data to be there, = just the
schema. Which is the fastest way to do it without making 30 &q= uot;create column
family ..."

Best regards,

Carlo




=A0

--14dae9cdc859a6a92404b6164578--