@Override
protected void configure() {
bind(HiveMetastore.class).annotatedWith(Names.named("hive")).
to(InMemoryHiveMetastore.class).in(Scopes.SINGLETON);
bind(HiveMetastore.class).toProvider(HiveMetastoreProvider.class).in(Scopes.SINGLETON);
<BUG>expose(HiveMetastore.class);</BUG>
}
@Provides
@Named(Constants.Hive.METASTORE_PORT)
private int providesHiveMetastorePort(CConfiguration cConf) {
<BUG>File warehouseDir = new File(new File(cConf.get(Constants.CFG_LOCAL_DATA_DIR), "hive"), "warehouse");

File databaseDir = new File(new File(cConf.get(Constants.CFG_LOCAL_DATA_DIR), "hive"), "database");
</BUG>
LOG.debug("Setting {} to {}",

@Override
protected void configure() {
bind(HiveMetastore.class).annotatedWith(Names.named("hive")).
to(InMemoryHiveMetastore.class).in(Scopes.SINGLETON);
bind(HiveMetastore.class).toProvider(HiveMetastoreProvider.class).in(Scopes.SINGLETON);
}
@Provides
@Named(Constants.Hive.METASTORE_PORT)
private int providesHiveMetastorePort(CConfiguration cConf) {
File warehouseDir = new File(cConf.get(Constants.Hive.CFG_LOCAL_DATA_DIR), "warehouse");
File databaseDir = new File(cConf.get(Constants.Hive.CFG_LOCAL_DATA_DIR), "database");
LOG.debug("Setting {} to {}",
