You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Mark <st...@gmail.com> on 2010/08/12 03:56:04 UTC

Reload/Update schema 0.7

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

Re: Reload/Update schema 0.7

Posted by Gary Dusbabek <gd...@gmail.com>.
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 <st...@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
>