Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶
func CreateTable(client gohbase.AdminClient, table string, cFamilies []string) error
CreateTable creates the given table with the given families
func DeleteTable ¶
func DeleteTable(client gohbase.AdminClient, table string) error
DeleteTable finds the HBase shell via the HBASE_HOME environment variable, and disables and drops the given table
func LaunchRegionServers ¶
func LaunchRegionServers(servers []string)
LaunchRegionServers uses the script local-regionservers.sh to create new RegionServers. Fails silently if server already exists. Ex. LaunchRegions([]string{"2", "3"}) launches two servers with id=2,3
func StopRegionServers ¶
func StopRegionServers(servers []string)
StopRegionServers uses the script local-regionservers.sh to stop existing RegionServers. Fails silently if server isn't running.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.