Artem Ervits created STORM-1116:
-----------------------------------
Summary: 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.
Key: STORM-1116
URL: https://issues.apache.org/jira/browse/STORM-1116
Project: Apache Storm
Issue Type: New Feature
Components: storm-hbase
Affects Versions: 0.9.2-incubating
Reporter: Artem Ervits
Priority: Minor
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)