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:37:03 UTC
[jira] [Created] (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
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
[jira] [Updated] (CASSANDRA-2572) cassandra_cli: CREATE CF HELP
should list option as key_cache_save_period instead of
keys_cached_save_period
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-2572:
---------------------------------------
Reviewer: jbellis
> cassandra_cli: CREATE CF HELP should list option as key_cache_save_period instead of keys_cached_save_period
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2572
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0, 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
> Attachments: CASSANDRA-0.7-2572.patch, CASSANDRA-2572.patch
>
>
> *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
[jira] [Commented] (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
Posted by "David Weiser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025556#comment-13025556 ]
David Weiser commented on CASSANDRA-2572:
-----------------------------------------
I'm seeing the following in org.apache.cassandra.cli.CliClient:
protected enum ColumnFamilyArgument
{
....
KEY_CACHE_SAVE_PERIOD,
....
}
Instead of executing:
create column family supa_dupa2 with keys_cached_save_period = 124000;
one executes:
create column family supa_dupa2 with key_cache_save_period = 124000;
The second statement successfully executes.
> 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
> Components: Tools
> Affects Versions: 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
>
> *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
[jira] [Commented] (CASSANDRA-2572) cassandra_cli: CREATE CF HELP
should list option as key_cache_save_period instead of
keys_cached_save_period
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025900#comment-13025900 ]
Hudson commented on CASSANDRA-2572:
-----------------------------------
Integrated in Cassandra-0.8 #46 (See [https://builds.apache.org/hudson/job/Cassandra-0.8/46/])
fix cli help typo
patch by Pavel Yaskevich for CASSANDRA-2572
> cassandra_cli: CREATE CF HELP should list option as key_cache_save_period instead of keys_cached_save_period
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2572
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
> Attachments: CASSANDRA-0.7-2572.patch, CASSANDRA-2572.patch
>
>
> *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
[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
Posted by "Cathy Daw (JIRA)" <ji...@apache.org>.
[ 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
[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
Posted by "David Weiser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Weiser updated CASSANDRA-2572:
------------------------------------
Attachment: CASSANDRA-0.7-2572.patch
> 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
> Components: Tools
> Affects Versions: 0.7.0, 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
> Attachments: CASSANDRA-0.7-2572.patch
>
>
> *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
[jira] [Updated] (CASSANDRA-2572) cassandra_cli: CREATE CF HELP
should list option as key_cache_save_period instead of
keys_cached_save_period
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-2572:
---------------------------------------
Attachment: CASSANDRA-2572.patch
changed doc for 0.8 (can be applied on both cassandra-0.8 and trunk without any problems), 0.7 is not affected by this bug.
> cassandra_cli: CREATE CF HELP should list option as key_cache_save_period instead of keys_cached_save_period
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2572
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0, 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
> Attachments: CASSANDRA-0.7-2572.patch, CASSANDRA-2572.patch
>
>
> *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
[jira] [Updated] (CASSANDRA-2572) cassandra_cli: CREATE CF HELP
should list option as key_cache_save_period instead of
keys_cached_save_period
Posted by "Cathy Daw (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cathy Daw updated CASSANDRA-2572:
---------------------------------
Summary: cassandra_cli: CREATE CF HELP should list option as key_cache_save_period instead of keys_cached_save_period (was: 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 )
Thanks David. Will make this a bug about help.
> cassandra_cli: CREATE CF HELP should list option as key_cache_save_period instead of keys_cached_save_period
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2572
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0, 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
> Attachments: CASSANDRA-0.7-2572.patch
>
>
> *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
[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
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-2572:
--------------------------------------
Component/s: Tools
Fix Version/s: 0.8.0
Assignee: Pavel Yaskevich
may also be a bug in 0.7
> 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
> Components: Tools
> Affects Versions: 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
>
> *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
[jira] [Updated] (CASSANDRA-2572) cassandra_cli: CREATE CF HELP
should list option as key_cache_save_period instead of
keys_cached_save_period
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-2572:
--------------------------------------
Affects Version/s: (was: 0.7.0)
> cassandra_cli: CREATE CF HELP should list option as key_cache_save_period instead of keys_cached_save_period
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2572
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.8 beta 1
> Reporter: Cathy Daw
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.8.0
>
> Attachments: CASSANDRA-0.7-2572.patch, CASSANDRA-2572.patch
>
>
> *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