[
https://issues.apache.org/jira/browse/STORM-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artem Ervits updated STORM-1116:
--------------------------------
Affects Version/s: (was: 0.9.2-incubating)
0.11.0
> 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.11.0
> 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)