Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27129

Add a config that allows us to configure region-level storage policies

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0, 3.0.0-alpha-4
    • regionserver
    • None
    • Reviewed
    • Add a 'hbase.hregion.block.storage.policy' so you can config storage policy at region level. This is useful when you want to control the storage policy for the directories other than CF directories, such as .splits, .recovered.edits, etc.

    Description

      <property>
      <name>hbase.hregion.block.storage.policy</name>
      <value>HOT|ALL_SSD|...</value>
      </property>
      With this config, we can set region-level storage policies.

       

      We have this config about CF storage policy:

       <property>
          <name>hbase.hstore.block.storage.policy</name>
          <value>ALL_SSD</value>
        </property>
      

      But in addition to CF, we also have some other path under region path, such like .splits, 

      recovered.edits, .tmp .

      So i want to add a region-level config which could cover the whole path, and if you have any other requirements for the cf directory, you can continue to use the previous hbase.hstore.block.storage.policy to specify them separately.

      Attachments

        Issue Links

          Activity

            People

              tangtianhang tianhang tang
              tangtianhang tianhang tang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: