You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cathy Daw (JIRA)" <ji...@apache.org> on 2011/04/27 02:39:03 UTC
[jira] [Updated] (CASSANDRA-2572) cassandra_cli: unable to create
CF with keys_cached_save_period: No enum const class
org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.KEYS_CACHED_SAVE_PERIOD
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cathy Daw updated CASSANDRA-2572:
---------------------------------
Description:
*cassandra-cli: output from create cf command*
{noformat}
[default@cqldb] create column family supa_dupa2 with keys_cached_save_period = 124000;
No enum const class org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.KEYS_CACHED_SAVE_PERIOD
{noformat}
*cassandra-cli: help create column family*
{noformat}
- keys_cached_save_period: Duration in seconds after which Cassandra should
safe the keys cache. Caches are saved to saved_caches_directory as
specified in conf/Cassandra.yaml. Default is 14400 or 4 hours.
Saved caches greatly improve cold-start speeds, and is relatively cheap in
terms of I/O for the key cache. Row cache saving is much more expensive and
has limited use.
{noformat}
*cqlsh: documentation for create column family options*
{noformat}
key_cache_save_period_in_seconds 14400 Number of seconds between saving key caches.
{noformat}
*cqlsh: this actually works*
{noformat}
cqlsh> CREATE COLUMNFAMILY cf1 (KEY varchar PRIMARY KEY) WITH key_cache_save_period_in_seconds=10000;
{noformat}
*cassandra-cli: CF definition via show keyspace*
{noformat}
ColumnFamily: cf1
Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type
Default column value validator: org.apache.cassandra.db.marshal.UTF8Type
Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type
Row cache size / save period in seconds: 0.0/0
Key cache size / save period in seconds: 200000.0/10000
Memtable thresholds: 0.140625/30/1440 (millions of ops/MB/minutes)
GC grace seconds: 864000
Compaction min/max thresholds: 4/32
Read repair chance: 1.0
Replicate on write: true
Built indexes: []
{noformat}
was:
*cassandra-cli: output from create cf command:
{noformat}
[default@cqldb] create column family supa_dupa2 with keys_cached_save_period = 124000;
No enum const class org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.KEYS_CACHED_SAVE_PERIOD
{noformat}
*cassandra-cli: help create column family*
{noformat}
- keys_cached_save_period: Duration in seconds after which Cassandra should
safe the keys cache. Caches are saved to saved_caches_directory as
specified in conf/Cassandra.yaml. Default is 14400 or 4 hours.
Saved caches greatly improve cold-start speeds, and is relatively cheap in
terms of I/O for the key cache. Row cache saving is much more expensive and
has limited use.
{noformat}
*cqlsh: documentation for create column family options*
{noformat}
key_cache_save_period_in_seconds 14400 Number of seconds between saving key caches.
{noformat}
*cqlsh: this actually works*
{noformat}
cqlsh> CREATE COLUMNFAMILY cf1 (KEY varchar PRIMARY KEY) WITH key_cache_save_period_in_seconds=10000;
{noformat}
*cassandra-cli: CF definition via show keyspace*
{noformat}
ColumnFamily: cf1
Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type
Default column value validator: org.apache.cassandra.db.marshal.UTF8Type
Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type
Row cache size / save period in seconds: 0.0/0
Key cache size / save period in seconds: 200000.0/10000
Memtable thresholds: 0.140625/30/1440 (millions of ops/MB/minutes)
GC grace seconds: 864000
Compaction min/max thresholds: 4/32
Read repair chance: 1.0
Replicate on write: true
Built indexes: []
{noformat}
> cassandra_cli: unable to create CF with keys_cached_save_period: No enum const class org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.KEYS_CACHED_SAVE_PERIOD
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2572
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.8 beta 1
> Reporter: Cathy Daw
> Priority: Trivial
>
> *cassandra-cli: output from create cf command*
> {noformat}
> [default@cqldb] create column family supa_dupa2 with keys_cached_save_period = 124000;
> No enum const class org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.KEYS_CACHED_SAVE_PERIOD
> {noformat}
> *cassandra-cli: help create column family*
> {noformat}
> - keys_cached_save_period: Duration in seconds after which Cassandra should
> safe the keys cache. Caches are saved to saved_caches_directory as
> specified in conf/Cassandra.yaml. Default is 14400 or 4 hours.
> Saved caches greatly improve cold-start speeds, and is relatively cheap in
> terms of I/O for the key cache. Row cache saving is much more expensive and
> has limited use.
> {noformat}
> *cqlsh: documentation for create column family options*
> {noformat}
> key_cache_save_period_in_seconds 14400 Number of seconds between saving key caches.
> {noformat}
> *cqlsh: this actually works*
> {noformat}
> cqlsh> CREATE COLUMNFAMILY cf1 (KEY varchar PRIMARY KEY) WITH key_cache_save_period_in_seconds=10000;
> {noformat}
> *cassandra-cli: CF definition via show keyspace*
> {noformat}
> ColumnFamily: cf1
> Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type
> Default column value validator: org.apache.cassandra.db.marshal.UTF8Type
> Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type
> Row cache size / save period in seconds: 0.0/0
> Key cache size / save period in seconds: 200000.0/10000
> Memtable thresholds: 0.140625/30/1440 (millions of ops/MB/minutes)
> GC grace seconds: 864000
> Compaction min/max thresholds: 4/32
> Read repair chance: 1.0
> Replicate on write: true
> Built indexes: []
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira