zk

package
v0.0.0-...-0bc26d2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2016 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package zk encapsulates our interactions with ZooKeeper.

Index

Constants

View Source
const (

	// Meta is a ResourceName that indicates that the location of the Meta
	// table is what will be fetched
	Meta = ResourceName("/hbase/meta-region-server")

	// Master is a ResourceName that indicates that the location of the Master
	// server is what will be fetched
	Master = ResourceName("/hbase/master")
)

Variables

This section is empty.

Functions

func LocateResource

func LocateResource(zkquorum string, resource ResourceName) (string, uint16, error)

LocateResource returns the location of the specified resource.

Types

type ResourceName

type ResourceName string

ResourceName is a type alias that is used to represent different resources in ZooKeeper

Jump to

Keyboard shortcuts

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