test

package
v0.0.0-...-8e66edc Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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