diff --git a/tools/stress/src/org/apache/cassandra/stress/settings/Command.java b/tools/stress/src/org/apache/cassandra/stress/settings/Command.java index 15729460b7..9a93e3448c 100644 --- a/tools/stress/src/org/apache/cassandra/stress/settings/Command.java +++ b/tools/stress/src/org/apache/cassandra/stress/settings/Command.java @@ -31,11 +31,11 @@ import com.google.common.collect.ImmutableList; public enum Command { - READ(false, "Standard1", "Super1", + READ(false, "standard1", "Super1", "Multiple concurrent reads - the cluster must first be populated by a write test", CommandCategory.BASIC ), - WRITE(true, "Standard1", "Super1", + WRITE(true, "standard1", "Super1", "insert", "Multiple concurrent writes against the cluster", CommandCategory.BASIC @@ -44,12 +44,12 @@ public enum Command "Interleaving of any basic commands, with configurable ratio and distribution - the cluster must first be populated by a write test", CommandCategory.MIXED ), - COUNTER_WRITE(true, "Counter1", "SuperCounter1", + COUNTER_WRITE(true, "counter1", "SuperCounter1", "counter_add", "Multiple concurrent updates of counters.", CommandCategory.BASIC ), - COUNTER_READ(false, "Counter1", "SuperCounter1", + COUNTER_READ(false, "counter1", "SuperCounter1", "counter_get", "Multiple concurrent reads of counters. The cluster must first be populated by a counterwrite test.", CommandCategory.BASIC diff --git a/tools/stress/src/org/apache/cassandra/stress/settings/SettingsSchema.java b/tools/stress/src/org/apache/cassandra/stress/settings/SettingsSchema.java index 342dd0be32..93a9bd7619 100644 --- a/tools/stress/src/org/apache/cassandra/stress/settings/SettingsSchema.java +++ b/tools/stress/src/org/apache/cassandra/stress/settings/SettingsSchema.java @@ -68,7 +68,7 @@ public class SettingsSchema implements Serializable KsDef ksdef = new KsDef(); // column family for standard columns - CfDef standardCfDef = new CfDef(keyspace, "Standard1"); + CfDef standardCfDef = new CfDef(keyspace, "standard1"); Map compressionOptions = new HashMap<>(); if (compression != null) compressionOptions.put("sstable_compression", compression); @@ -82,7 +82,7 @@ public class SettingsSchema implements Serializable standardCfDef.addToColumn_metadata(new ColumnDef(settings.columns.names.get(i), "BytesType")); // column family for standard counters - CfDef counterCfDef = new CfDef(keyspace, "Counter1") + CfDef counterCfDef = new CfDef(keyspace, "counter1") .setComparator_type(comparator) .setDefault_validation_class("CounterColumnType") .setCompression_options(compressionOptions); @@ -158,7 +158,7 @@ public class SettingsSchema implements Serializable { final OptionReplication replication = new OptionReplication(); final OptionCompaction compaction = new OptionCompaction(); - final OptionSimple keyspace = new OptionSimple("keyspace=", ".*", "Keyspace1", "The keyspace name to use", false); + final OptionSimple keyspace = new OptionSimple("keyspace=", ".*", "keyspace1", "The keyspace name to use", false); final OptionSimple compression = new OptionSimple("compression=", ".*", null, "Specify the compression to use for sstable, default:no compression", false); @Override