test

package
v0.0.0-...-51c9c64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

func CreateTable(host, table string, cFamilies []string) error

CreateTable finds the HBase shell via the HBASE_HOME environment variable, and creates the given table with the given families

func DeleteTable

func DeleteTable(host, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL