Package org.apache.hadoop.hbase
Interface Abortable
- All Known Subinterfaces:
Admin
,ClusterConnection
,Connection
,Hbck
,MasterServices
,RegionServerServices
,Server
- All Known Implementing Classes:
BackupHFileCleaner
,ConnectionImplementation
,ConnectionUtils.MasterlessConnection
,DumpReplicationQueues.WarnOnlyAbortable
,HBaseAdmin
,HBaseHbck
,HBaseInterClusterReplicationEndpoint
,HBaseReplicationEndpoint
,HMaster
,HMasterCommandLine.LocalHMaster
,HRegionServer
,LogRollBackupSubprocedurePool
,RegionReplicaReplicationEndpoint
,ReplicationSyncUp.DummyServer
,ServerConnectionUtils.ShortCircuitingClusterConnection
,SharedConnection
,ThriftAdmin
,ThriftConnection
,ZKWatcher
Interface to support the aborting of a given server or client.
This is used primarily for ZooKeeper usage when we could get an unexpected and fatal exception, requiring an abort.
Implemented by the Master, RegionServer, and TableServers (client).
-
Method Summary
-
Method Details
-
abort
Abort the server or client.- Parameters:
why
- Why we're aborting.e
- Throwable that caused abort. Can be null.
-
abort
It just calls another abort method and the Throwable parameter is null.- Parameters:
why
- Why we're aborting.- See Also:
-
isAborted
boolean isAborted()Check if the server or client was aborted.- Returns:
- true if the server or client was aborted, false otherwise
-