Class RemoteCommandExecutor


  • public class RemoteCommandExecutor
    extends java.lang.Object
    Executes a remote command by sending an RPC to remote hoststats process. Returns the stdout output of the command.

    Author: smarella

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> execute​(java.lang.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 Detail

      • RemoteCommandExecutor

        public RemoteCommandExecutor()
    • Method Detail

      • execute

        public static java.util.List<java.lang.String> execute​(java.lang.String remoteHost,
                                                               com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.ExecuteCommandRequest request)
                                                        throws com.mapr.cliframework.base.CLIProcessingException
        Throws:
        com.mapr.cliframework.base.CLIProcessingException