[ https://issues.apache.org/jira/browse/CASSANDRA-15034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029596#comment-17029596 ]
Dmitry Kropachev edited comment on CASSANDRA-15034 at 2/4/20 6:21 AM: ---------------------------------------------------------------------- [~djoshi] , could you please look into it, this issue is really annoying. was (Author: dkropachev): Dinesh Joshi, could you please look into it, this issue is really annoying. > cassandra-stress fails to retry user profile insert and query operations > ------------------------------------------------------------------------- > > Key: CASSANDRA-15034 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15034 > Project: Cassandra > Issue Type: Bug > Components: Tool/stress > Reporter: Shlomi Livne > Assignee: Shlomi Livne > Priority: Normal > Attachments: 0001-Fix-retry-of-userdefined-operations.patch, > stress.yaml > > > cassandra-stress that is run with a user profile against a cluster will fail > to trey operations when a node is killed. > To reproduce: > # Create a 3 ndoe cluster with ccm > {code:java} > ccm create cas-3 --vnodes -n 1 --version=3.11.3``{code} > # start the cluster > {code:java} > ccm start{code} > # run > {code:java} > tools/bin/cassandra-stress user profile=stress.yaml n=100000 ops(insert=1) > no-warmup cl=QUORUM -node 127.0.0.2 -rate threads=10{code} > or run > {code:java} > tools/bin/cassandra-stress user profile=stress.yaml n=100000 ops(simple=1) > no-warmup cl=QUORUM -node 127.0.0.2 -rate threads=10{code} > # while the stress is progressing kill a node > {code:java} > ccm node1 stop --not-gently{code} > # wait for cassandra-stress to end > for the insert case check > {code:java} > ccm node2 cqlsh -e " select count(*) FROM stresscql.tb ;"{code} > we are missing rows > for the query case (simple) the following errors will be reported > {code:java} > java.util.NoSuchElementException > java.util.NoSuchElementException > java.util.NoSuchElementException > java.util.NoSuchElementException > java.util.NoSuchElementException > java.util.NoSuchElementException > java.io.IOException: Operation x10 on key(s) [49a26f35297303469236]: Error > executing: (NoSuchElementException) > at > org.apache.cassandra.stress.Operation.error(Operation.java:127)java.util.NoSuchElementException > at > org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:105)com.datastax.driver.core.exceptions.TransportException: > [/127.0.0.1:9042] Connection has been closed > java.util.NoSuchElementException > java.util.NoSuchElementException > java.util.NoSuchElementException > java.util.NoSuchElementException > java.util.NoSuchElementException{code} > profile: stress.yaml[^stress.yaml] > > -- 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