Package org.apache.hadoop.registry.client.impl.zk


package org.apache.hadoop.registry.client.impl.zk
Core Zookeeper support.

This package contains the low-level bindings to Curator and Zookeeper, including everything related to registry security.

The class CuratorService is a YARN service which offers access to a Zookeeper instance via Apache Curator.

The RegistrySecurity implements the security support in the registry, though a set of static methods and as a YARN service.

To work with ZK, system properties need to be set before invoking some operations/instantiating some objects. The definitions of these are kept in ZookeeperConfigOptions.

  • Class
    Description
    Binding information provided by a RegistryBindingSource
    org.apache.hadoop.registry.client.impl.zk.CuratorService
    This service binds to Zookeeper via Apache Curator.
    org.apache.hadoop.registry.client.impl.zk.PathListener
     
    Interface which can be implemented by a registry binding source
    org.apache.hadoop.registry.client.impl.zk.RegistryInternalConstants
    Internal constants for the registry.
    The Registry operations service.
    org.apache.hadoop.registry.client.impl.zk.RegistrySecurity
    Implement the registry security ... a self contained service for testability.
    org.apache.hadoop.registry.client.impl.zk.RegistrySecurity.AclListInfo
    on-demand stringifier for a list of ACLs
    org.apache.hadoop.registry.client.impl.zk.RegistrySecurity.UgiInfo
    On demand string-ifier for UGI with extra details
    org.apache.hadoop.registry.client.impl.zk.ZKPathDumper
    This class dumps a registry tree to a string.
    org.apache.hadoop.registry.client.impl.zk.ZookeeperConfigOptions
    Configuration options which are internal to Zookeeper, as well as some other ZK constants