Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-20109

Directions to disable key cache in cassandra.yaml break startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • None
    • All
    • None

    Description

      # Default value is empty to make it "auto" (min(5% of Heap (in MiB), 100MiB)). Set to 0 to disable key cache.
      #
      # This is only relevant to SSTable formats that use key cache, e.g. BIG.
      # Min unit: MiB
      key_cache_size:
      

      but when you follow the instructions:

      Caused by: org.yaml.snakeyaml.constructor.ConstructorException: Cannot create property=key_cache_size for JavaBean=org.apache.cassandra.config.Config@7f608e21
       in 'reader', line 26, column 1:
          cluster_name: 'rokt-density-1732 ...
          ^
      Can't construct a java object for scalar tag:yaml.org,2002:int; exception=null
       in 'reader', line 476, column 17:
          key_cache_size: 0
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rustyrazorblade Jon Haddad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: