public byte[] generateRandomSizeValue(byte[]... seedStrings) {
    int dataSize = minValueSize;
    if (minValueSize != maxValueSize) {
      dataSize = minValueSize + randomForValueSize.nextInt(Math.abs(maxValueSize - minValueSize));
    }
    return getValueForRowColumn(dataSize, seedStrings);
  }
Generates a value for the given key index and column qualifier. Size is selected randomly in
the configured range. The generated value depends only on the combination of the strings passed
(key/cf/column/...) and the selected value size. This allows to verify the actual value bytes
when reading, as done in {#verify(byte[], byte[]...)} This method is as thread-safe as Random
class. It appears that the worst bug ever found with the latter is that multiple threads will
get some duplicate values, which we don't care about.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/LoadTestKVGenerator.java