cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anuja Mandlecha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13513) Getting java.lang.AssertionError after upgrade from Cassandra 2.1.17.1428 to 3.0.8
Date Tue, 09 May 2017 13:30:04 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-13513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anuja Mandlecha updated CASSANDRA-13513:
----------------------------------------
    Description: 
Hi,
While querying Cassandra table using DBeaver or using DataStax Node.js Driver getting below
error. 
WARN  [SharedPool-Worker-2] 2017-05-09 12:55:18,654  AbstractLocalAwareExecutorService.java:169
- Uncaught exception on thread Thread[SharedPool-Worker-2,5,main]: {}
java.lang.AssertionError: null
        at org.apache.cassandra.index.internal.composites.CompositesSearcher$1Transform.findEntry(CompositesSearcher.java:228)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.index.internal.composites.CompositesSearcher$1Transform.applyToRow(CompositesSearcher.java:218)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:137) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:131)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:87)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:77)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:300)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:138)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:134)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2466)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_101]
        at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136)
[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]

Query used is 
select * from dynocloud.user_info where company_name='DS' allow filtering;
This query returns data when run in cql shell. 
Also if we give limit 100 to the same query or change the value to company_name, the query
returns results. The index definition is 
CREATE INDEX company_name_userindex ON dynocloud.user_info (company_name);

Thanks,
Anuja Mandlecha

  was:
Hi,
While querying Cassandra table using DBeaver or using DataStax Node.js Driver getting below
error. 
WARN  [SharedPool-Worker-2] 2017-05-09 12:55:18,654  AbstractLocalAwareExecutorService.java:169
- Uncaught exception on thread Thread[SharedPool-Worker-2,5,main]: {}
java.lang.AssertionError: null
        at org.apache.cassandra.index.internal.composites.CompositesSearcher$1Transform.findEntry(CompositesSearcher.java:228)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.index.internal.composites.CompositesSearcher$1Transform.applyToRow(CompositesSearcher.java:218)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:137) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:131)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:87)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:77)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:300)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:138)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:134)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2466)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_101]
        at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136)
[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [cassandra-all-3.0.8.1293.jar:3.0.8.1293]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]

Query used is 
select * from dynocloud.user_info where company_name='DS' allow filtering;
This query returns data when run in cql shell. Whereas if we run a query like 
select * from dynocloud.user_info where company_name='DS' limit 10; 
it returns the data.

Thanks,
Anuja Mandlecha


> Getting java.lang.AssertionError after upgrade from Cassandra 2.1.17.1428 to 3.0.8
> ----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13513
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13513
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>         Environment: DSE 5.0.2 ,Cassandra 3.0.8  Ubuntu 14.04
>            Reporter: Anuja Mandlecha
>
> Hi,
> While querying Cassandra table using DBeaver or using DataStax Node.js Driver getting
below error. 
> WARN  [SharedPool-Worker-2] 2017-05-09 12:55:18,654  AbstractLocalAwareExecutorService.java:169
- Uncaught exception on thread Thread[SharedPool-Worker-2,5,main]: {}
> java.lang.AssertionError: null
>         at org.apache.cassandra.index.internal.composites.CompositesSearcher$1Transform.findEntry(CompositesSearcher.java:228)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.index.internal.composites.CompositesSearcher$1Transform.applyToRow(CompositesSearcher.java:218)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:137) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:131)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:87)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(UnfilteredRowIteratorSerializer.java:77)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:300)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:138)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:134)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) ~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2466)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_101]
>         at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
~[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136)
[cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [cassandra-all-3.0.8.1293.jar:3.0.8.1293]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
> Query used is 
> select * from dynocloud.user_info where company_name='DS' allow filtering;
> This query returns data when run in cql shell. 
> Also if we give limit 100 to the same query or change the value to company_name, the
query returns results. The index definition is 
> CREATE INDEX company_name_userindex ON dynocloud.user_info (company_name);
> Thanks,
> Anuja Mandlecha



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message