Dne 17.10.2011 22:06, aaron morton napsal(a):
Hi there,
If you start cassandra-cli with --debug it will output a stack trace if
the error is client side.
A long is exactly 8 bytes: 5
java.lang.RuntimeException: A long is exactly 8 bytes: 5
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: org.apache.cassandra.db.marshal.MarshalException: A long is
exactly 8 bytes: 5
at
org.apache.cassandra.db.marshal.LongType.getString(LongType.java:72)
at
org.apache.cassandra.cli.CliClient.showColumnMeta(CliClient.java:1710)
at
org.apache.cassandra.cli.CliClient.showColumnFamily(CliClient.java:1687)
at
org.apache.cassandra.cli.CliClient.showKeyspace(CliClient.java:1637)
at
org.apache.cassandra.cli.CliClient.executeShowSchema(CliClient.java:1598)
at
org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:250)
... 2 more
No error in server log. cli expect long value but in database is stored
something different. it should not be possible to store different type
if column has metadata set.