public class RemoteCommandExecutor
extends Object
Executes a remote command by sending an RPC to remote hoststats process.
Returns the stdout output of the command.
Author: smarella
-
Constructor Summary
Constructors
-
Method Summary
execute(String remoteHost,
com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.ExecuteCommandRequest request)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RemoteCommandExecutor
public RemoteCommandExecutor()
-
Method Details
-
execute
public static List<String> execute(String remoteHost,
com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.ExecuteCommandRequest request)
throws com.mapr.cliframework.base.CLIProcessingException
- Throws:
com.mapr.cliframework.base.CLIProcessingException