public static void setWithPrefix(Configuration conf, String prefix,
    Iterable<Map.Entry<String, String>> properties) {
    for (Map.Entry<String, String> entry : properties) {
      conf.set(prefix + entry.getKey(), entry.getValue());
    }
  }
Sets all the entries in the provided {@code Map<String, String>} as properties in the given
{@code Configuration}. Each property will have the specified prefix prepended, so that the
configuration entries are keyed by {@code prefix + entry.getKey()}.
hbase-common/src/main/java/org/apache/hadoop/hbase/HBaseConfiguration.java