[
https://issues.apache.org/jira/browse/CASSANDRA-15625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058434#comment-17058434
]
Yuki Morishita commented on CASSANDRA-15625:
--------------------------------------------
I've seen this error before for C* 3.0.
The cause of the error was CASSANDRA-9241, which is only fixed for 3.x.
I suggest you to upgrade to the latest 3.11.x if possible.
> Nodetool toppartitions error
> ----------------------------
>
> Key: CASSANDRA-15625
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15625
> Project: Cassandra
> Issue Type: Bug
> Reporter: Antonio
> Assignee: Sam Tunnicliffe
> Priority: Normal
>
> c* version :3.0.15
> here's my test table:
> CREATE TABLE app300.test (
> a bigint PRIMARY KEY,
> b text,
> c text
> )
> INSERT INTO app300.test(a ,b, c ) VALUES (500000, 'test1', 'test1');
> when i use topartition :nodetool toppartitions app300 test 500000,get error
> error: Expected 8 or 0 byte long (1048576)
> -- StackTrace --
> org.apache.cassandra.serializers.MarshalException: Expected 8 or 0 byte long
> (1048576)
> at
> org.apache.cassandra.serializers.LongSerializer.validate(LongSerializer.java:42)
> at
> org.apache.cassandra.db.marshal.AbstractType.getString(AbstractType.java:128)
> at
> org.apache.cassandra.db.ColumnFamilyStore.finishLocalSampling(ColumnFamilyStore.java:1579)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> but when i flush this table, topartition can work
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]