[ https://issues.apache.org/jira/browse/CASSANDRA-15625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058351#comment-17058351 ]
Antonio commented on CASSANDRA-15625: ------------------------------------- Dear [~samt] : thanks for your reply. app300.test was my newly created, and i only insert one row, i also tried 1s, the same stacktrace appears but when i flush this table, the toppartitions can work well, reads and writes toppartitions can well display it seems if a row is newly insert, and use toppartitions(1s or 2s or 5s) to get READS Sampler, and select this row at the same time, that's does'nt work hope for your reply. > Nodetool toppartitions error > ---------------------------- > > Key: CASSANDRA-15625 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15625 > Project: Cassandra > Issue Type: Bug > Reporter: Antonio > Assignee: Alex Lumpov > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org