You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2019/01/07 16:28:00 UTC

[jira] [Updated] (CASSANDRA-14959) ReadCommandVerbHandler validateTransientStatus class cast exception

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

Ariel Weisberg updated CASSANDRA-14959:
---------------------------------------
    Status: Patch Available  (was: Open)

Proposed fix https://github.com/aweisberg/cassandra/commit/290f6dc2e79ff2d265fb2b232799bab0ba3a94cb
CircleCI: https://circleci.com/gh/aweisberg/cassandra/tree/14959-trunk

> ReadCommandVerbHandler validateTransientStatus class cast exception 
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-14959
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14959
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Coordination
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>            Priority: Major
>             Fix For: 4.0
>
>
> Causes a test failure, looks like it should just use instanceof.
> {noformat}
> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
>     self.run()
>   File "/Users/aweisberg/repos/cassandra-dtest/venv/src/ccm/ccmlib/cluster.py", line 189, in run
>     self.scan_and_report()
>   File "/Users/aweisberg/repos/cassandra-dtest/venv/src/ccm/ccmlib/cluster.py", line 182, in scan_and_report
>     on_error_call(errordata)
>   File "/Users/aweisberg/repos/cassandra-dtest/dtest_setup.py", line 137, in _log_error_handler
>     pytest.fail("Error details: \n{message}".format(message=message))
>   File "/Users/aweisberg/repos/cassandra-dtest/venv/lib/python3.7/site-packages/_pytest/outcomes.py", line 97, in fail
>     raise Failed(msg=msg, pytrace=pytrace)
> Failed: Error details: 
> Errors seen in logs for: node1
> node1: ERROR [ReadStage-2] 2019-01-03 14:02:43,704 AbstractLocalAwareExecutorService.java:167 - Uncaught exception on thread Thread[ReadStage-2,5,main]
> java.lang.ClassCastException: org.apache.cassandra.db.PartitionRangeReadCommand cannot be cast to org.apache.cassandra.db.SinglePartitionReadCommand
> 	at org.apache.cassandra.db.ReadCommandVerbHandler.validateTransientStatus(ReadCommandVerbHandler.java:85)
> 	at org.apache.cassandra.db.ReadCommandVerbHandler.doVerb(ReadCommandVerbHandler.java:53)
> 	at org.apache.cassandra.net.MessageDeliveryTask.process(MessageDeliveryTask.java:92)
> 	at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:54)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:162)
> 	at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:134)
> 	at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:115)
> 	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> 	at java.lang.Thread.run(Thread.java:748)
> FAILED
> upgrade_tests/cql_tests.py:2869 (TestCQLNodes3RF3_Upgrade_indev_3_11_x_To_indev_trunk.test_edge_2i_on_complex_pk)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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