Package org.apache.hadoop.hbase
Class HBaseClusterManager.CommandProvider
java.lang.Object
org.apache.hadoop.hbase.HBaseClusterManager.CommandProvider
- Direct Known Subclasses:
HBaseClusterManager.HadoopShellCommandProvider
,HBaseClusterManager.HBaseShellCommandProvider
,HBaseClusterManager.ZookeeperShellCommandProvider
- Enclosing class:
- HBaseClusterManager
Provides command strings for services to be executed by Shell. CommandProviders are pluggable,
and different deployments(windows, bigtop, etc) can be managed by plugging-in custom
CommandProvider's or ClusterManager's.
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
findPidCommand
(ClusterManager.ServiceType service) abstract String
signalCommand
(ClusterManager.ServiceType service, String signal)
-
Constructor Details
-
CommandProvider
-
-
Method Details
-
getCommand
public abstract String getCommand(ClusterManager.ServiceType service, HBaseClusterManager.CommandProvider.Operation op) -
isRunningCommand
-
findPidCommand
-
signalCommand
-