You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2020/03/25 07:17:31 UTC
[GitHub] [cassandra] dkropachev commented on issue #451:
fix(StressProfile.java): fix c-s failing when profile table is extended
with set> column
dkropachev commented on issue #451: fix(StressProfile.java): fix c-s failing when profile table is extended with set<set<>> column
URL: https://github.com/apache/cassandra/pull/451#issuecomment-603680416
After the fix:
./cassandra-stress user profile=/tmp/fail_anyway.yaml ops'(insert=1)' cl=ONE n=20 -pop seq=1..10000000 -port jmx=6868 -mode cql3 native -rate threads=2 -node 172.17.0.2
ERROR: Table 'users' has column 'cl_set_set' of unsupported type
ERROR: Table 'users' has column 'cl_map' of unsupported type
ERROR: Table 'users' has column 'aux_map' of unsupported type
ERROR: Table 'users' has column 'aux_set_set' of unsupported type
java.lang.UnsupportedOperationException
at org.apache.cassandra.stress.StressProfile$GeneratorFactory.<init>(StressProfile.java:739)
at org.apache.cassandra.stress.StressProfile$GeneratorFactory.<init>(StressProfile.java:707)
at org.apache.cassandra.stress.StressProfile.newGenerator(StressProfile.java:700)
at org.apache.cassandra.stress.StressProfile.printSettings(StressProfile.java:130)
at org.apache.cassandra.stress.settings.StressSettings.printSettings(StressSettings.java:383)
at org.apache.cassandra.stress.Stress.run(Stress.java:95)
at org.apache.cassandra.stress.Stress.main(Stress.java:62)
./cassandra-stress user profile=/tmp/fail_anyway.yaml ops'(insert=1)' cl=ONE n=20 -pop seq=1..10000000 -port jmx=6868 -mode cql3 native -rate threads=2 -node 172.17.0.2 -errors skip-unsupported-columns
WARNING: Table 'users' has column 'aux_map' of unsupported type
WARNING: Table 'users' has column 'aux_set_set' of unsupported type
ERROR: Table 'users' has column 'cl_set_set' of unsupported type
ERROR: Table 'users' has column 'cl_map' of unsupported type
java.lang.UnsupportedOperationException
at org.apache.cassandra.stress.StressProfile$GeneratorFactory.<init>(StressProfile.java:738)
at org.apache.cassandra.stress.StressProfile$GeneratorFactory.<init>(StressProfile.java:706)
at org.apache.cassandra.stress.StressProfile.newGenerator(StressProfile.java:699)
at org.apache.cassandra.stress.StressProfile.printSettings(StressProfile.java:130)
at org.apache.cassandra.stress.settings.StressSettings.printSettings(StressSettings.java:383)
at org.apache.cassandra.stress.Stress.run(Stress.java:95)
at org.apache.cassandra.stress.Stress.main(Stress.java:62)
./cassandra-stress user profile=/tmp/fail_if_no_skip.yaml ops'(insert=1)' cl=ONE n=20 -pop seq=1..10000000 -port jmx=6868 -mode cql3 native -rate threads=2 -node 172.17.0.2
ERROR: Table 'fail_if_no_skip' has column 'aux_map' of unsupported type
ERROR: Table 'fail_if_no_skip' has column 'aux_set_set' of unsupported type
ERROR: Table 'fail_if_no_skip' has column 'cl_map' of unsupported type
ERROR: Table 'fail_if_no_skip' has column 'cl_set_set' of unsupported type
java.lang.UnsupportedOperationException
at org.apache.cassandra.stress.StressProfile$GeneratorFactory.<init>(StressProfile.java:738)
at org.apache.cassandra.stress.StressProfile$GeneratorFactory.<init>(StressProfile.java:706)
at org.apache.cassandra.stress.StressProfile.newGenerator(StressProfile.java:699)
at org.apache.cassandra.stress.StressProfile.printSettings(StressProfile.java:130)
at org.apache.cassandra.stress.settings.StressSettings.printSettings(StressSettings.java:383)
at org.apache.cassandra.stress.Stress.run(Stress.java:95)
at org.apache.cassandra.stress.Stress.main(Stress.java:62)
./cassandra-stress user profile=/tmp/fail_if_no_skip.yaml ops'(insert=1)' cl=ONE n=20 -pop seq=1..10000000 -port jmx=6868 -mode cql3 native -rate threads=2 -node 172.17.0.2 -errors skip-unsupported-columns
Results:
Op rate : 47 op/s [insert: 47 op/s]
Partition rate : 47 pk/s [insert: 47 pk/s]
Row rate : 47 row/s [insert: 47 row/s]
Latency mean : 1.7 ms [insert: 1.7 ms]
Latency median : 1.3 ms [insert: 1.3 ms]
Latency 95th percentile : 3.2 ms [insert: 3.2 ms]
Latency 99th percentile : 3.3 ms [insert: 3.3 ms]
Latency 99.9th percentile : 3.3 ms [insert: 3.3 ms]
Latency max : 3.3 ms [insert: 3.3 ms]
Total partitions : 20 [insert: 20]
Total errors : 0 [insert: 0]
Total GC count : 0
Total GC memory : 0.000 KiB
Total GC time : 0.0 seconds
Avg GC time : NaN ms
StdDev GC time : 0.0 ms
Total operation time : 00:00:00
END
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org