incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Dusbabek <gdusba...@gmail.com>
Subject Re: Reload/Update schema 0.7
Date Thu, 12 Aug 2010 12:28:02 GMT
You should take a look at http://wiki.apache.org/cassandra/LiveSchemaUpdates

loadSchemaFromYaml() is intended to initialize the schema on a seed
node in a new cluster (or one that has been upgraded from 0.6).  It is
an operation that should only be performed one time *per cluster.*

Gary

On Wed, Aug 11, 2010 at 20:56, Mark <static.void.dev@gmail.com> wrote:
> How is this accomplished?
>
> I tried using the
> org.apache.cassandra.service.StorageService.loadSchemaFromYAML() method but
> I am receiving the following error.
>
> java.util.concurrent.ExecutionException:
> org.apache.cassandra.config.ConfigurationException: Cannot load from XML on
> top of pre-existing schemas.
>    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>    at
> org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:87)
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>    at java.lang.Thread.run(Thread.java:637)
>
> Thanks again
>

Mime
View raw message