Class RemoteCommandExecutor

java.lang.Object
com.mapr.cli.common.RemoteCommandExecutor

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 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