I tried a few variations, but when it set it to: 100%  or "100%" or similar I 
get:

ERROR 19:37:31,898 Fatal error: null; Can't construct a java object for 
tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot create 
property=keyspaces for javabean=org.apache.cassandra.config.con...@32955cd5; 
Cannot create property=column_families for 
javabean=org.apache.cassandra.config.rawkeysp...@31b446d1; Cannot create 
property=keys_cached for 
javabean=org.apache.cassandra.config.rawcolumnfam...@c68c26c; For input string: 
"100%"
Bad configuration; unable to start server

It looks like if it's yaml it doesn't pass through the 
FBUtils.parseDoubleOrPercent(), and since the bean has a double the yaml 
deserializer is blowing up... Just a guess..

-jeff


On 10/25/10 3:51 PM, "Aaron Morton" <aa...@thelastpickle.com> wrote:

It should do, this is the comment from the yaml

#     - keys_cached: specifies the number of keys per sstable whose
#        locations we keep in memory in "mostly LRU" order.  (JUST the key
#        locations, NOT any column values.) Specify a fraction (value less
#        than 1) or an absolute number of keys to cache.  Defaults to 200000
#        keys.

Is it not working?
Aaron


On 26 Oct, 2010,at 08:45 AM, "Damick, Jeffrey" <jeffrey.dam...@neustar.biz> 
wrote:

Does 0.7 not support percentages in the keys_cached (in the yaml config)?  (I'm 
on 0.7.0b2 so maybe it has been fixed?)

thanks


Reply via email to