mirror of https://github.com/apache/cassandra
avoid mixed case ks/table names in stress (ninja)
This commit is contained in:
parent
a78451e5c6
commit
f0767fdf49
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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<String, String> 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue