You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jenny <aw...@163.com> on 2011/08/30 08:00:26 UTC

Cassandra 0.8 & schematool

Hi 

I notice that schematool was removed from the release of Cassandra 0.8. I would like to know the reason of doing that and  how i can load the schema from configure file(like .yaml) automatically.


Best Regards!

Jenny

Re: Cassandra 0.8 & schematool

Posted by Jenny <aw...@163.com>.
Thank you. problem solved

在 2011-8-30,下午9:12, Jonathan Ellis 写道:

> The right way to do this is to use a script of "create" commands:
> 
> bin/cassandra-cli -f my-schema-creation-script
> 
> On Tue, Aug 30, 2011 at 1:00 AM, Jenny <aw...@163.com> wrote:
>> Hi
>> I notice that schematool was removed from the release of Cassandra 0.8. I
>> would like to know the reason of doing that and  how i can load the schema
>> from configure file(like .yaml) automatically.
>> 
>> Best Regards!
>> Jenny
> 
> 
> 
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com

Best Regards!

Yi Wang(Jenny)

Institute of Massive Computing
Software Engineering Institute
East China Normal University
NO.109(West), Math Building, NO.3663, Zhongshan Road(North), Shanghai, China




Re: Cassandra 0.8 & schematool

Posted by Jonathan Ellis <jb...@gmail.com>.
The right way to do this is to use a script of "create" commands:

bin/cassandra-cli -f my-schema-creation-script

On Tue, Aug 30, 2011 at 1:00 AM, Jenny <aw...@163.com> wrote:
> Hi
> I notice that schematool was removed from the release of Cassandra 0.8. I
> would like to know the reason of doing that and  how i can load the schema
> from configure file(like .yaml) automatically.
>
> Best Regards!
> Jenny



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Re: Cassandra 0.8 & schematool

Posted by B R <so...@gmail.com>.
Look for a file called schema-sample.txt under the conf folder.

You'll find a sample schema and the command to load the same.

On Tue, Aug 30, 2011 at 11:30 AM, Jenny <aw...@163.com> wrote:

> Hi
>
> I notice that schematool was removed from the release of Cassandra 0.8. I
> would like to know the reason of doing that and  how i can load the schema
> from configure file(like .yaml) automatically.
>
>
> Best Regards!
>
> Jenny
>