Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db_prefix is not being implemented in. _RIGHT_CleanUp_execute.sql #46

Closed
hpasumarthi opened this issue Apr 27, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@hpasumarthi
Copy link

hpasumarthi commented Apr 27, 2023

Hi Team,
Looks like db_prefix is not being updating the _RIGHT_CleanUp_execute.sql it show the same left db name.

Out sample job is

hms-mirror -cfg $config_file -d SCHEMA_ONLY -db $dbname -tf $tblfilter --db-prefix $env_target_prefix -o $output_directory -dc -e

Looks like it is hard coded to use database here https://github.com/cloudera-labs/hms-mirror/blob/main/src/main/java/com/cloudera/utils/hadoop/hms/mirror/Conversion.java#L119
Can we get this checked.

@dstreev dstreev self-assigned this May 12, 2023
@dstreev dstreev added the bug Something isn't working label May 12, 2023
@dstreev dstreev added this to the 1.5.5.0 milestone May 12, 2023
@dstreev dstreev closed this as completed May 12, 2023
dstreev added a commit to dstreev/hms-mirror that referenced this issue May 12, 2023
dstreev added a commit to dstreev/hms-mirror that referenced this issue May 12, 2023
- Prevent user from setting -wd and -ewd to the same value.
- Exit process if the database commands aren't successful. cloudera-labs/hms-mirror#48
- Global Location Map option, which would override -rdl is a match is found. cloudera-labs/hms-mirror#50
- ForceExternalLocations added to address bugs in HDP Hive 3 where the Database LOCATION is NOT honored for new tables and falls back to the warehouse directory. cloudera-labs/hms-mirror#51

Change internal structure of property overrides.

Fix Prefixed DB in CLeanup sql. cloudera-labs/hms-mirror#46

Fixed dbprefix for dc. cloudera-labs/hms-mirror#36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants