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

Optionally allow snapshots to preserve cluster's max filesize config by setting it into table descriptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.4, 2.5.0, 2.4.2
    • 3.0.0-alpha-1, 2.5.0, 2.3.5, 2.4.3
    • None
    • None

    Description

      While using snapshots for data migration, if the source cluster has non-default definition for hbase.hregion.max.filesize, table being snapshotted doesn't have MAX_FILESIZE attribute set, then if snapshot is exported to a separate cluster with different value for hbase.hregion.max.filesize, any cloned table will not respect the original value. In cases where the original cluster had a much larger value set to hbase.hregion.max.filesize then the destination cluster, restoring snapshot can trigger a storm of splits.

      This Jira introduces an optional configuration (disabled by default) that allows for the hbase.hregion.max.filesize value to be saved within the table MAX_FILESIZE descriptor at snapshot creation time.

       

      Attachments

        Issue Links

          Activity

            People

              wchevreuil Wellington Chevreuil
              wchevreuil Wellington Chevreuil
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: