Log Message: |
HBASE-4628 [jira] Enhance Table Create Presplit Functionality within the HBase
Shell
Summary:
HBase shell can algorithmically split a new table at creation
This change adds optional arguments to the HBase shell's create command
to split a table into a specified number of regions using a specified
splitting algorithm as defined by RegionSplitter.
Currently, we allow the user to presplit in the HBase shell by explicitly
listing the startkey of all the region shards that they want. Instead, we
should provide the RegionSplitter functionality of choosing a split algorithm,
followed by the number of splits that they want.
Test Plan:
Created tables with and without splits using the shell; also attampted
to give incorrect arguments to shell create command.
Reviewers: nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: nspiegelberg, lhofhansl
Differential Revision: 429
|