Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14959

ReadCommandVerbHandler validateTransientStatus class cast exception

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Normal

    Description

      Causes a test failure, looks like it should just use instanceof.

      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)
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aweisberg Ariel Weisberg Assign to me
            aweisberg Ariel Weisberg
            Ariel Weisberg
            Alex Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment