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

Finer grained control over normalization actions for RegionNormalizer

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • regionserver
    • None
    • Incompatible change, Reviewed

    Description

      Currently both region split and merge actions are carried out during normalization for underlying table.

      However, for certain use case(s) (see https://issues.apache.org/jira/browse/HBASE-13103?focusedCommentId=14366255&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14366255​), it would be desirable to perform only one type of action.
      There is one boolean flag, keyed by NORMALIZATION_ENABLED_KEY, per table that enables normalization.

      To provide finer grained control, we have several options:

      1. introduce another per table flag to indicate which type(s) of actions are allowed ("N" for disabled, "S" for split only, "M" for merge only and "MS" for both split and merge)
      2. introduce another global flag to indicate which type(s) of actions are allowed
      3. modify the meaning of existing flag keyed by NORMALIZATION_ENABLED_KEY so that it indicates type(s) of actions

      Attachments

        1. 15073-v5.txt
          29 kB
          Ted Yu
        2. 15073-v4.txt
          29 kB
          Ted Yu
        3. 15073-v3.txt
          27 kB
          Ted Yu
        4. 15073-v2.txt
          25 kB
          Ted Yu
        5. 15073-v2.txt
          25 kB
          Ted Yu
        6. 15073-v1.txt
          20 kB
          Ted Yu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: