HBase
  1. HBase
  2. HBASE-5957

Mismatch with config param name in xml and code

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In hbase-default.xml there listed one param "io.storefile.bloom.cacheonwrite"

      <property>
        <name>io.storefile.bloom.cacheonwrite</name>
        <value>false</value>
        <description>
      	  Enables cache-on-write for inline blocks of a compound Bloom filter.
        </description>
      </property>
      

      No place in the code this config is getting used.
      Instead in CacheConfig there is a config param name

      /**
         * Configuration key to cache compound bloom filter blocks on write.
         */
        public static final String CACHE_BLOOM_BLOCKS_ON_WRITE_KEY =
            "hfile.block.bloom.cacheonwrite";
      

      Seems issue with entry in the xml file.
      We can correct the xml with the config name as hfile.block.bloom.cacheonwrite ?

      1. HBASE-5957.patch
        0.5 kB
        Anoop Sam John

        Activity

          People

          • Assignee:
            Anoop Sam John
            Reporter:
            Anoop Sam John
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development