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

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: storm-hbase
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              dbist13 Artem Ervits
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: