[ https://issues.apache.org/jira/browse/CASSANDRA-11914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Stupp reopened CASSANDRA-11914: -------------------------------------- The trades workload test (e.g. {{cassandra-stress user profile=https://raw.githubusercontent.com/mambocab/cstar_perf/belliottsmith-perf-jobs/regression_suites/trades.yaml ops\(insert=100,latest=100,range=1\) n=100M -rate threads=300 -pop seq=1..10K contents=SORTED read-lookback=uniform\(1..10K\) -insert visits=fixed\(10K\) revisit=uniform\(1..10K\)}}) fails with this patch with the following NPE: {code} ... Generator Configs: millisecond: Clustering: Uniform: min=50,max=200; second: Clustering: Uniform: min=50,max=200; Query Definitions: latest: CQL:select * from trades where instrumentid = ? and day = ? ORDER BY second DESC, millisecond DESC LIMIT 1;Fields:samerow; range: CQL:select * from trades where instrumentid = ? and day = ? and second > ? ORDER BY second DESC, millisecond DESC LIMIT 100;Fields:samerow; Token Range Queries: Insert Settings: java.lang.NullPointerException at org.apache.cassandra.stress.StressProfile.printSettings(StressProfile.java:116) 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) {code} Can be reproduced locally by starting Cassandra from trunk locally and running the stress profile above. > Provide option for cassandra-stress to dump all settings > -------------------------------------------------------- > > Key: CASSANDRA-11914 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11914 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Ben Slater > Assignee: Ben Slater > Priority: Minor > Fix For: 3.10 > > > cassandra-stress has quite a lot of default settings and settings that are > derived as side effects of explicit options. For people learning the tool and > saving a clear record of what was run, I think it would be useful if there > was an option to have the tool print all its settings at the start of a run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)