private static void setupMetastoreDB(String dbURL) throws Exception {
    HiveConf conf = new HiveConf();
    MetastoreConf.setVar(conf, MetastoreConf.ConfVars.CONNECT_URL_KEY,
        "jdbc:derby:" + DERBY_PATH + ";create=true");
    TestTxnDbUtil.prepDb(conf);
  }
Starts a TestHiveMetastore with a provided connection pool size and HiveConf.
@param conf The hive configuration to use
@param poolSize The number of threads in the executor pool
iceberg/iceberg-catalog/src/test/java/org/apache/iceberg/hive/TestHiveMetastore.java