Thanks and appreciate the responses. Will look into this.
thanks
Ramesh
On Wed, Jan 18, 2012 at 2:27 AM, aaron morton wrote:
> check the command line help for cassandra-cli, you can pass it a file name.
>
> e.g. cassandra --host localhost --file schema.txt
>
> Cheers
>
> -
> Aaro
check the command line help for cassandra-cli, you can pass it a file name.
e.g. cassandra --host localhost --file schema.txt
Cheers
-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 18/01/2012, at 9:35 AM, Carlos Pérez Miguel wrote:
> Hi Ramesh
>
Hi Ramesh
You can use the schematool command. I am using it for the same
purposes in Cassandra 0.7.9.
I use the following line in my cassandra startup script:
$CASSANDRA_HOME/bin/schematool HOSTNAME 8080 import
where HOSTNAME is the hostname of your test machine. It will import
the schema from
I usually start cassandra and then use cassandra-cli to import a
schema. Is there any automated way to load a fixed schema when
cassandra starts automatically?
I have a test setup where i run cassandra on a single node. I have a
OS image packaged with cassandra and it automatically starts cassa