public static int startMetaStoreWithRetry(final HadoopThriftAuthBridge bridge) throws Exception {
    return MetaStoreTestUtils.startMetaStoreWithRetry(bridge, MetastoreConf.newMetastoreConf());
  }
Starts a MetaStore instance on get given port with the given configuration and Thrift bridge.
Use it only it the port is definitely free. For tests use startMetaStoreWithRetry instead so
the MetaStore will find an emtpy port eventually, so the different tests can be run on the
same machine.
@param port The port to start on
@param bridge The bridge to use
@param conf The configuration to use
@param withHouseKeepingThreads Start the housekeeping background threads in the metastore
@param waitForHouseKeepers Wait until the background threads are scheduled
@throws Exception Timeout after 60 seconds
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/MetaStoreTestUtils.java