You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Antonio (Jira)" <ji...@apache.org> on 2020/03/09 09:55:00 UTC

[jira] [Created] (CASSANDRA-15625) Nodetool toppartitions error

Antonio created CASSANDRA-15625:
-----------------------------------

             Summary: Nodetool toppartitions error
                 Key: CASSANDRA-15625
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15625
             Project: Cassandra
          Issue Type: Bug
            Reporter: Antonio


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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org