cloudera-labs / hms-mirror

"hms-mirror" is a utility used to bridge the gap between two clusters and migrate hive metadata.
Apache License 2.0
13 stars 8 forks source link

Remove automatic DB location as db_name.db in db location #153

Closed skeni-cld closed 2 weeks ago

skeni-cld commented 2 weeks ago

Currently hms-mirror add db_name.db at the end of db location while providing .sql file for e.g.

ALTER DATABASE SET LOCATION "ofs://data/hive/db_name.db";

We are looking for support to NOT add db_name.db as some customer might not be opting to db_name.db while creating databases for e.g database location will be pointing to /data/hive/db_name in above case