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

cassandra-stress in simplenative mode and prepared fails with exceptions

    XMLWordPrintableJSON

Details

    Description

      % cassandra-stress write n=10 -mode simplenative cql3 prepared

      ...

      ap'; org.apache.cassandra.transport.messages.ResultMessage$Prepared is in unnamed module of loader 'app')

      java.lang.ClassCastException: class [B cannot be cast to class org.apache.cassandra.transport.messages.ResultMessage$Prepared ([B is in module java.base of loader 'bootstrap'; org.apache.cassandra.transport.messages.ResultMessage$Prepared is in unnamed module of loader 'app')

      java.io.IOException: Operation x10 on key(s) [4e334f364c4c4b373530]: Error executing: (ClassCastException): class [B cannot be cast to class org.apache.cassandra.transport.messages.ResultMessage$Prepared ([B is in module java.base of loader 'bootstrap'; org.apache.cassandra.transport.messages.ResultMessage$Prepared is in unnamed module of loader 'app')

       

      at org.apache.cassandra.stress.Operation.error(Operation.java:127)

      at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:105)

      at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:91)

      at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:99)

      at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:242)

      at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:471)

      java.io.IOException: Operation x10 on key(s) [373038504b3436363830]: Error executing: (ClassCastException): class [B cannot be cast to class org.apache.cassandra.transport.messages.ResultMessage$Prepared ([B is in module java.base of loader 'bootstrap'; org.apache.cassandra.transport.messages.ResultMessage$Prepared is in unnamed module of loader 'app')

       

      at org.apache.cassandra.stress.Operation.error(Operation.java:127)

      at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:105)

      at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:91)

      at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:99)

      at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:242)

      at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:471)

      java.lang.RuntimeException: Failed to execute warmup

      at org.apache.cassandra.stress.StressAction.warmup(StressAction.java:128)

      at org.apache.cassandra.stress.StressAction.run(StressAction.java:71)

      at org.apache.cassandra.stress.Stress.run(Stress.java:101)

      at org.apache.cassandra.stress.Stress.main(Stress.java:54)

      Attachments

        Activity

          People

            dmitry Dmitry Bychkov
            bschoeni Brad Schoening
            Dmitry Bychkov
            Brandon Williams, Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m