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

Add new split algorithm for num string

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 2.0.0-alpha-4, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Add new split algorithm DecimalStringSplit´╝îrow are decimal-encoded long values in the range "00000000" => "99999999" .
      create 't1','f', { NUMREGIONS => 10 , SPLITALGO => 'DecimalStringSplit' }
      The split point will be 10000000,20000000,...,90000000
      Show
      Add new split algorithm DecimalStringSplit´╝îrow are decimal-encoded long values in the range "00000000" => "99999999" . create 't1','f', { NUMREGIONS => 10 , SPLITALGO => 'DecimalStringSplit' } The split point will be 10000000,20000000,...,90000000

      Description

      We will use the reversed sequential number or phone number as the first part of rowkey, there is no split algorithm to create a pre-split table, only by specify the split points.

      create 't1','f', SPLITS => ['1','2','3','4','5','6','7','8','9']
      

        Attachments

        1. HBASE-19051.master.002.patch
          13 kB
          Yun Zhao
        2. HBASE-19051.master.001.patch
          8 kB
          Yun Zhao
        3. HBASE-19051.branch-1.001.patch
          12 kB
          Yun Zhao

          Activity

            People

            • Assignee:
              Yun Zhao Yun Zhao
              Reporter:
              Yun Zhao Yun Zhao
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: