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

Add regular expression based split policy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • regionserver
    • None

    Description

      The current DelimitedKeyPrefixRegionSplitPolicy split policy is not flexible enough to describe the split point prefix in some case. A regex based split policy is proposed, for example:
      ^[^\x00]\x00[^\x00]\x00
      means the split point will always be truncated to a prefix at the second \0 char.

      The binary string support is quite useful when the rowkey encoded by a common data access library instead of concatenated manually by application developer.

      Attachments

        1. HBASE-12452.patch
          5 kB
          He Liangliang
        2. HBASE-12452-V2.patch
          6 kB
          He Liangliang
        3. HBASE-12452-V2.patch
          6 kB
          Michael Stack
        4. HBASE-12452-V3.patch
          7 kB
          He Liangliang
        5. HBASE-12452-V3.patch
          7 kB
          Michael Stack
        6. HBASE-12452-V4.patch
          7 kB
          He Liangliang
        7. HBASE-12452-V4.patch
          7 kB
          He Liangliang

        Activity

          People

            Unassigned Unassigned
            heliangliang He Liangliang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: