static byte[] getRandomRow(final Random random, final int totalRows) {
    return format(random.nextInt(Integer.MAX_VALUE) % totalRows);
  }
Format passed integer.
@param number the integer to format
@return Returns zero-prefixed 10-byte wide decimal version of passed number (Does absolute in
        case number is negative).
hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/PerformanceEvaluation.java