@Override
  public void perform() throws Exception {
    final BloomType[] bloomArray = BloomType.values();
    final int bloomArraySize = bloomArray.length;

    getLogger().info("Performing action: Change bloom filter on all columns of table " + tableName);

    modifyAllTableColumns(tableName, (columnName, columnBuilder) -> {
      BloomType bloomType = bloomArray[ThreadLocalRandom.current().nextInt(bloomArraySize)];
      getLogger().debug("Performing action: About to set bloom filter type to " + bloomType
        + " on column " + columnName + " of table " + tableName);
      columnBuilder.setBloomFilterType(bloomType);
      if (bloomType == BloomType.ROWPREFIX_FIXED_LENGTH) {
        columnBuilder.setConfiguration(BloomFilterUtil.PREFIX_LENGTH_KEY, "10");
      }
    });

    getLogger().debug("Performing action: Just set bloom filter types on table " + tableName);
  }
Action that tries to adjust the bloom filter setting on all the columns of a table
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeBloomFilterAction.java