@Override
        public void run() {
          super.run();
          PerformanceEvaluation pe = new PerformanceEvaluation(getConf());
          pe.tableName = tableName;
          pe.blockEncoding = encoding;
          pe.flushCommits = flushCommits;
          pe.compression = compression;
          pe.writeToWAL = writeToWal;
          pe.presplitRegions = preSplitRegions;
          pe.N = N;
          pe.connection = connection;
          pe.useTags = useTags;
          pe.noOfTags = numTags;
          try {
            long elapsedTime = pe.runOneClient(cmd, index * perClientRows, perClientRows, R,
              flushCommits, writeToWAL, useTags, noOfTags, connection,
              msg -> LOG.info("client-" + getName() + " " + msg));
            timings[index] = elapsedTime;
            LOG.info("Finished " + getName() + " in " + elapsedTime + "ms writing " + perClientRows
              + " rows");
          } catch (IOException e) {
            throw new RuntimeException(e);
          }
        }
Run all clients in this vm each to its own thread.
@param cmd Command to run
@throws IOException if creating a connection fails
hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/PerformanceEvaluation.java