Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 23913 invoked from network); 30 Oct 2010 20:32:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Oct 2010 20:32:31 -0000 Received: (qmail 12289 invoked by uid 500); 30 Oct 2010 20:32:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 12258 invoked by uid 500); 30 Oct 2010 20:32:29 -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 12250 invoked by uid 99); 30 Oct 2010 20:32:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 20:32:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ruslan.usifov@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 20:32:22 +0000 Received: by pwi10 with SMTP id 10so796747pwi.31 for ; Sat, 30 Oct 2010 13:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=jo8GKlZcU5N45V1wxMg/fXGg6HrGJTHOKACvLToaoDw=; b=AJPL8r5voeIxPDdtKePXnw8UBfIewTKPey2mU710s1XUT/Pn7diNQLT9972JgbFWts vy3qnmIErzdnZCgeQp6xsEQNyvlOG6m7jqgfzSBvPjCEBBxcxMc3+yUXn/VX17HgYcDo Y/9Y55rK/iKzbqycsN9q5dT7rgPCAEEg3u+kI= 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=uvh4+nkHRO7Rcjz+QlpvgsO0e1Q0Y71qqHaMlOnxnIM6VGN99IpKodmVsBOXtk+s4f d68Xx44DY1tG8RZttPNsLTQYsl3DBM6h6IhrMY1Tj5HG0SfglShpL6rwuA2VNhHWS2lD Gylx50FijreVXXI7+w1j5fvD6LvyLYMNQfc9c= MIME-Version: 1.0 Received: by 10.142.51.14 with SMTP id y14mr2677180wfy.306.1288470719644; Sat, 30 Oct 2010 13:31:59 -0700 (PDT) Received: by 10.143.17.4 with HTTP; Sat, 30 Oct 2010 13:31:59 -0700 (PDT) In-Reply-To: References: <201010302039440250752@ihep.ac.cn> Date: Sun, 31 Oct 2010 00:31:59 +0400 Message-ID: Subject: Re: how to create Keyspaces and ColumnFamilies in 0.7.0 beta2? From: ruslan usifov To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000e0cd20c668c46790493db77a5 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd20c668c46790493db77a5 Content-Type: text/plain; charset=ISO-8859-1 I'm sorry but i mistaken, the example mut lokks like this: create keyspace test_1 with replication_factor=1; use test_1; create column family value with column_type='Standard' and comparator='AsciiType' and rows_cached=0.5 and key_cache_size=4000000; http://wiki.apache.org/cassandra/LiveSchemaUpdates 2010/10/31 ruslan usifov > It should be creatted dinamicly, But you can import yaml declaration once > throw JMX > > To create dynamicly you can use cassandra-cli > > Here some example of use it > > create keyspace test_1; > use test_1; > create column family value with replication_factor=1 and > column_type='Standard' and comparator='AsciiType' and rows_cached=0.5 and > key_cache_size=4000000; > > 2010/10/30 zangds > > Should it be defined in cassandra.yaml? >> Or, create it on dynamic? >> >> 2010-10-30 >> ------------------------------ >> zangds >> > > --000e0cd20c668c46790493db77a5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm sorry but i mistaken, the example mut lokks like this:

creat= e keyspace test_1 with replication_factor=3D1;
use test_1;
create column family value with column_type=3D'Standard' and compar= ator=3D'AsciiType' and rows_cached=3D0.5=20 and key_cache_size=3D4000000;



http://wiki.apache.org/cassandra/LiveSchem= aUpdates

2010/10/31 ruslan usifov <ruslan.usifov= @gmail.com>
It should be crea= tted dinamicly, But you can import yaml declaration once throw JMX

T= o create dynamicly you can use cassandra-cli

Here some example of use it

create keyspace test_1;
use test= _1;
create column family value with replication_factor=3D1 and column_type=3D&#= 39;Standard' and comparator=3D'AsciiType' and rows_cached=3D0.5= and key_cache_size=3D4000000;

2010/10/30= zangds <zangds@ihep.ac.cn>

Should it be defined in=20 cassandra.yaml?
Or, create it on dynamic?
=A0
201= 0-10-30=20

zangds=20


--000e0cd20c668c46790493db77a5--