private void runForegroundTask(final Shell.ShellCommandExecutor shell,
    final RpcController controller, final RpcCallback<ShellExecResponse> done) {
    ShellExecResponse.Builder builder = ShellExecResponse.newBuilder();
    try {
      doExec(shell, builder);
    } catch (IOException e) {
      LOG.error("Failure launching process", e);
      CoprocessorRpcUtils.setControllerException(controller, e);
    }
    done.run(builder.build());
  }
Receives shell commands from the client and executes them blindly. Intended only for use by
{@link ChaosMonkey} via {@link CoprocClusterManager}
hbase-it/src/test/java/org/apache/hadoop/hbase/ShellExecEndpointCoprocessor.java