incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain RODRIGUEZ <arodr...@gmail.com>
Subject Re: "show schema" bombs in 0.8.6
Date Tue, 13 Dec 2011 19:29:54 GMT
Hi, this reminds me a problem I had with a truncate.

I think that to show schema, you're cluster must be stable and your schema
agreed across the cluster.

See if your cluster is really the one described by your nodetool ring and
if the same schema is present on each node.

You should visit this  :
http://wiki.apache.org/cassandra/FAQ#schema_disagreement

I'm not a Cassandra dev, I may be wrong about what your real problem is.

Alain

2011/12/13 Maxim Potekhin <potekhin@bnl.gov>

> Running cli --debug:
>
> [default@PANDA] show schema;
> null
> java.lang.RuntimeException
>        at org.apache.cassandra.cli.**CliClient.executeCLIStatement(**
> CliClient.java:310)
>        at org.apache.cassandra.cli.**CliMain.processStatement(**
> CliMain.java:217)
>        at org.apache.cassandra.cli.**CliMain.main(CliMain.java:345)
> Caused by: java.lang.NullPointerException
>        at org.apache.cassandra.cli.**CliClient.showColumnMeta(**
> CliClient.java:1716)
>        at org.apache.cassandra.cli.**CliClient.showColumnFamily(**
> CliClient.java:1686)
>        at org.apache.cassandra.cli.**CliClient.showKeyspace(**
> CliClient.java:1636)
>        at org.apache.cassandra.cli.**CliClient.executeShowSchema(**
> CliClient.java:1598)
>        at org.apache.cassandra.cli.**CliClient.executeCLIStatement(**
> CliClient.java:250)
>
>

Mime
View raw message