[
https://issues.apache.org/jira/browse/CASSANDRA-15625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio updated CASSANDRA-15625:
Description:
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 (50, 'test1', 'test1');
when i use topartition :nodetool toppartitions app300 test 50,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
was:
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 (50, 'test1', 'test1');
when i use topartition :nodetool toppartitions app300 test 50,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
> Nodetool toppartitions error
>
>
> Key: CASSANDRA-15625
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15625
> Project: Cassandra
> Issue Type: Bug
>Reporter: Antonio
>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 (50, 'test1', 'test1');
> when i use topartition :nodetool toppartitions app300 test 50,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