Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1116

storm-hbase doesn't create a table for you, it would be great to have an option to create a table and optionally pre-split the table by passing a splitting algorithm to it.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0.0
    • None
    • storm-hbase
    • None

    Description

      HBase has a utility to create and pre-split a table.
      hbase org.apache.hadoop.hbase.util.RegionSplitter table_name HexStringSplit -c 30 -f cf

      The other algorithm choice is UniformSplit. User can also implement a custom algorithm. It would be great to be able to pass an option to create a table, perhaps in the prepare() method as well as pre-split the table based on the passed algorithm.

      Something like this "hbaseMapper().withCreateTable(numRegions, columnFamily, algorithm) where algorithm is UniformSplit, HexStringSplit and/or a custom algorithm implementation

      Attachments

        Activity

          People

            Unassigned Unassigned
            dbist13 Artem Ervits
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: