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
Click to show internal directories.
Click to hide internal directories.