On 26 Oct, 2010,at 02:02 PM, "Damick, Jeffrey" <Jeffrey.Damick@neustarbiz> wrote:
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.Config@32955cd5; Cannot create property=column_families for JavaBean=org.apache.cassandra.config.RawKeyspace@31b446d1; Cannot create property=keys_cached for JavaBean=org.apache.cassandra.config.RawColumnFamily@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..
On 10/25/10 3:51 PM, "Aaron Morton" <email@example.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
Is it not working?
On 26 Oct, 2010,at 08:45 AM, "Damick, Jeffrey" <Jeffrey.Damick@neustar.biz> wrote:
Does 0.7 not support percentages in the keys_cached (in the yaml config)? (Iím on 07.0b2 so maybe it has been fixed?)