Package org.apache.hadoop.ha


package org.apache.hadoop.ha
  • Class
    Description
    org.apache.hadoop.ha.ActiveStandbyElector
    This class implements a simple library to perform leader election on top of Apache Zookeeper.
    org.apache.hadoop.ha.ActiveStandbyElector.ActiveNotFoundException
    Exception thrown when there is no active leader
    org.apache.hadoop.ha.ActiveStandbyElector.ActiveStandbyElectorCallback
    Callback interface to interact with the ActiveStandbyElector object.
    Indicates that the operator has specified an invalid configuration for fencing methods.
    org.apache.hadoop.ha.FailoverController
    The FailOverController is responsible for electing an active service on startup or when the current active is changing (eg due to failure), monitoring the health of a service, and performing a fail-over when a new active service is either manually selected by a user or elected.
    Exception thrown to indicate service failover has failed.
    A fencing method is a method by which one node can forcibly prevent another node from making continued progress.
    org.apache.hadoop.ha.HAAdmin
    A command-line tool for making calls in the HAServiceProtocol.
    org.apache.hadoop.ha.HAAdmin.UsageInfo
    UsageInfo class holds args and help details.
    Protocol interface that provides High Availability related primitives to monitor and fail-over the service.
    An HA service may be in active or standby state.
     
    org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo
    Information describing the source for a request to change state.
    Helper for making HAServiceProtocol RPC calls.
    org.apache.hadoop.ha.HAServiceStatus
     
    Represents a target of the client side HA administration commands.
    Exception thrown to indicate that health check of a service failed.
    org.apache.hadoop.ha.HealthMonitor
    This class is a daemon which runs in a loop, periodically heartbeating with an HA service.
    org.apache.hadoop.ha.HealthMonitor.State
     
    org.apache.hadoop.ha.NodeFencer
    This class parses the configured list of fencing methods, and is responsible for trying each one in turn while logging informative output.
    org.apache.hadoop.ha.PowerShellFencer
    Fencer method that uses PowerShell to remotely connect to a machine and kill the required process.
    Exception thrown to indicate that an operation performed to modify the state of a service or application failed.
    org.apache.hadoop.ha.ShellCommandFencer
    Fencing method that runs a shell command.
    org.apache.hadoop.ha.SshFenceByTcpPort
    This fencing implementation sshes to the target node and uses fuser to kill the process listening on the service's TCP port.
    org.apache.hadoop.ha.ZKFailoverController
     
    org.apache.hadoop.ha.ZKFCProtocol
    Protocol exposed by the ZKFailoverController, allowing for graceful failover.
    org.apache.hadoop.ha.ZKFCRpcServer