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

[COST-5551] add config for local Glue Data Catalog utilization #5471

Merged
merged 17 commits into from
Feb 12, 2025

Conversation

maskarb
Copy link
Member

@maskarb maskarb commented Jan 29, 2025

Jira Ticket

COST-5551

Description

This change will update the config to enable connecting to Glue Data Catalog locally.

To use Glue, set:

SCHEMA_SUFFIX=_{your-username}
HIVE_PROPERTIES_FILE=glue.properties
GLUE_PROPERTIES_FILE=hive.properties

and restart everything. Would be good to wipe your DB too.

This PR also adds a make command for clearing out schema in the Data Catalog. This is good to run alongside recreating your db:

$ make delete-db; make delete-glue-data schema=org1234567$SCHEMA_SUFFIX
Deleting database: org1234567_mskarbek

This will also attempt to wipe s3 data, so minio ought to be running. But other commands wipe this data, so it's not critical. The database is deleted first, then the s3 data.

@maskarb maskarb added the smoke-tests pr_check will build the image and run minimal required smokes label Jan 29, 2025
@maskarb maskarb added smoke-tests pr_check will build the image and run minimal required smokes and removed ok-to-skip-smokes smoke-tests pr_check will build the image and run minimal required smokes labels Jan 29, 2025
@maskarb
Copy link
Member Author

maskarb commented Jan 31, 2025

/retest

@maskarb maskarb marked this pull request as ready for review February 12, 2025 17:18
@maskarb maskarb requested review from a team as code owners February 12, 2025 17:19
@maskarb maskarb removed the smoke-tests pr_check will build the image and run minimal required smokes label Feb 12, 2025
@maskarb maskarb changed the title add glue cleanup script [COST-5551] add config for local Glue Data Catalog utilization Feb 12, 2025
@maskarb maskarb merged commit a44d344 into main Feb 12, 2025
14 checks passed
@maskarb maskarb deleted the glue-delete branch February 12, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants