private static TableDescriptor createHTableDescriptor(final int regionNum,
    final int numFamilies) {
    TableDescriptorBuilder builder =
      TableDescriptorBuilder.newBuilder(TableName.valueOf(TABLE_NAME + ":" + regionNum));
    IntStream.range(0, numFamilies)
      .mapToObj(i -> ColumnFamilyDescriptorBuilder.of(FAMILY_PREFIX + i))
      .forEachOrdered(builder::setColumnFamily);
    return builder.build();
  }
Perform WAL.append() of Put object, for the number of iterations requested. Keys and Vaues are
generated randomly, the number of column families, qualifiers and key/value size is tunable by
the user.
hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java