Typo in src/java/org/apache/cassandra/cli/CliClient  
-----------------------------------------------------

                 Key: CASSANDRA-2873
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2873
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.8.1
         Environment: ubuntu linux 10.4
            Reporter: MichaƂ Bartoszewski


I have read your documentation about syntax for creating column family and 
parameters that I can pass.
According to documentation i can use parameter :

" - keys_cache_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. "

but then i was receiving error: "No enum const class 
org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.KEYS_CACHE_SAVE_PERIOD"


In class mentioned in title we have:

protected enum ColumnFamilyArgument
115     {
116     COLUMN_TYPE,
117     COMPARATOR,
118     SUBCOMPARATOR,
119     COMMENT,
120     ROWS_CACHED,
121     ROW_CACHE_SAVE_PERIOD,
122     KEYS_CACHED,
123     KEY_CACHE_SAVE_PERIOD,   <---- TYPO !
124     READ_REPAIR_CHANCE,
125     GC_GRACE,
126     COLUMN_METADATA,
127     MEMTABLE_OPERATIONS,
128     MEMTABLE_THROUGHPUT,
129     MEMTABLE_FLUSH_AFTER,
130     DEFAULT_VALIDATION_CLASS,
131     MIN_COMPACTION_THRESHOLD,
132     MAX_COMPACTION_THRESHOLD,
133     REPLICATE_ON_WRITE,
134     ROW_CACHE_PROVIDER,
135     KEY_VALIDATION_CLASS
136     } 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to