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

Allow region split request to carry identification information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Reviewed

    Description

      During the process of improving region normalization feature, I found that if region split request triggered by the execution of SplitNormalizationPlan fails, there is no way of knowing whether the failed split originated from region normalization.

      The association of particular split request with outcome of split would give RegionNormalizer information so that it can make better normalization decisions in the subsequent invocations.

      One approach is to embed metadata, such as a UUID, in SplitRequest which gets passed through RegionStateTransitionContext when RegionServerServices#reportRegionStateTransition() is called.
      This way, RegionStateListener can be notified with the metadata (id of the requester).

      See discussion on dev mailing list
      http://search-hadoop.com/m/YGbbCXdkivihp2

      Attachments

        1. 15075-v0.txt
          6 kB
          Ted Yu
        2. 15075-v1.txt
          41 kB
          Ted Yu
        3. 15075-v2.txt
          73 kB
          Ted Yu
        4. HBASE-15075.v10.patch
          83 kB
          Ted Yu
        5. HBASE-15075.v2.patch
          73 kB
          Ted Yu
        6. HBASE-15075.v3.patch
          75 kB
          Ted Yu
        7. HBASE-15075.v4.patch
          80 kB
          Ted Yu
        8. HBASE-15075.v5.patch
          80 kB
          Ted Yu
        9. HBASE-15075.v6.patch
          80 kB
          Ted Yu
        10. HBASE-15075.v7.patch
          82 kB
          Ted Yu
        11. HBASE-15075.v8.patch
          82 kB
          Ted Yu
        12. HBASE-15075.v9.patch
          84 kB
          Ted Yu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: