Package org.apache.hadoop.ha
package org.apache.hadoop.ha
-
ClassDescriptionorg.apache.hadoop.ha.ActiveStandbyElectorThis class implements a simple library to perform leader election on top of Apache Zookeeper.org.apache.hadoop.ha.ActiveStandbyElector.ActiveNotFoundExceptionException thrown when there is no active leaderorg.apache.hadoop.ha.ActiveStandbyElector.ActiveStandbyElectorCallbackCallback interface to interact with the ActiveStandbyElector object.Indicates that the operator has specified an invalid configuration for fencing methods.org.apache.hadoop.ha.FailoverControllerThe 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.HAAdminA command-line tool for making calls in the HAServiceProtocol.org.apache.hadoop.ha.HAAdmin.UsageInfoUsageInfo 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.StateChangeRequestInfoInformation describing the source for a request to change state.Helper for making
HAServiceProtocolRPC calls.org.apache.hadoop.ha.HAServiceStatusRepresents a target of the client side HA administration commands.Exception thrown to indicate that health check of a service failed.org.apache.hadoop.ha.HealthMonitorThis class is a daemon which runs in a loop, periodically heartbeating with an HA service.org.apache.hadoop.ha.HealthMonitor.Stateorg.apache.hadoop.ha.NodeFencerThis 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.PowerShellFencerFencer 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.ShellCommandFencerFencing method that runs a shell command.org.apache.hadoop.ha.SshFenceByTcpPortThis fencing implementation sshes to the target node and usesfuserto kill the process listening on the service's TCP port.org.apache.hadoop.ha.ZKFailoverControllerorg.apache.hadoop.ha.ZKFCProtocolProtocol exposed by the ZKFailoverController, allowing for graceful failover.org.apache.hadoop.ha.ZKFCRpcServer