private static synchronized AbstractStorageManager getStorageManager (
TajoConf conf, Path warehouseDir, boolean v2) throws IOException {
URI uri;
TajoConf localConf = new TajoConf(conf);
if (warehouseDir != null) {
localConf.setVar(ConfVars.WAREHOUSE_DIR, warehouseDir.toUri().toString());
}
uri = TajoConf.getWarehouseDir(localConf).toUri();
String key = "file".equals(uri.getScheme()) ? "file" : uri.toString();