Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11526

hdds.datanode.metadata.rocksdb.cache.size default value description is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      In ozone-default.xml, hdds.datanode.metadata.rocksdb.cache.size has the following default value description:

        <property>
          <name>hdds.datanode.metadata.rocksdb.cache.size</name>
          <value>64MB</value>
          <tag>OZONE, DATANODE, MANAGEMENT</tag>
          <description>
              Size of the block metadata cache shared among RocksDB instances on each
              datanode. All containers on a datanode will share this cache.
          </description>
        </property>
      

      The actual default value used in the code is 1GB. https://github.com/apache/ozone/blob/master/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConfigKeys.java#L453

      Attachments

        Activity

          People

            sarvekshayr Sarveksha Yeshavantha Raju
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: