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

Add new split algorithm for num string

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0-alpha-4, 2.0.0
    • None
    • None
    • Reviewed
    • 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.branch-1.001.patch
          12 kB
          Yun Zhao
        2. HBASE-19051.master.001.patch
          8 kB
          Yun Zhao
        3. HBASE-19051.master.002.patch
          13 kB
          Yun Zhao

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: