Skip to content

Add support for static AWS credentials in GlueHiveMetastore#15950

Merged
highker merged 1 commit intoprestodb:masterfrom
v-jizhang:aws_credentials
May 25, 2021
Merged

Add support for static AWS credentials in GlueHiveMetastore#15950
highker merged 1 commit intoprestodb:masterfrom
v-jizhang:aws_credentials

Conversation

@v-jizhang
Copy link
Contributor

@v-jizhang v-jizhang commented Apr 15, 2021

Cherry pick of trinodb/trino#748
This PR adds support for specifying static AWS credentials for
GlueHiveMetastore through two new configuration options,
hive.metastore.glue.aws-access-key and
hive.metastore.glue.aws-secret-key.
This is helpful in situations where someone may want to access a glue
catalog through Presto without running the cluster on AWS
infrastructure.

Co-authored-by: Philippe Gagnon pgagnon@users.noreply.github.com

== RELEASE NOTES ==

Hive Changes
* Add support for static AWS credentials in GlueHiveMetastore
   :doc:`/connector/hive`

@aweisberg aweisberg self-requested a review April 26, 2021 16:40
Copy link
Contributor

@aweisberg aweisberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try and also cherry-pick or add documentation at the same time? trinodb/trino@c1ac9ac
Our policy is to include documentation with changes instead of having them added (or not!) later :-)

@aweisberg
Copy link
Contributor

+1 other then the docs. You can keep the docs in a separate commit just include it in the PR.

@v-jizhang
Copy link
Contributor Author

+1 other then the docs. You can keep the docs in a separate commit just include it in the PR.

I'll document it in another PR. Thanks

@v-jizhang
Copy link
Contributor Author

Added docs.

@v-jizhang v-jizhang requested a review from aweisberg May 13, 2021 21:45
Copy link
Contributor

@aweisberg aweisberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All checks were successful even the FB integration. I am going to squash the commits.

@aweisberg
Copy link
Contributor

Rebased because of what looks like a bogus fb integration failure. It was a checkstyle violation that didn't seem to be present in the code.

@aweisberg aweisberg requested a review from highker May 19, 2021 16:43
Cherry pick of trinodb/trino#748
This PR adds support for specifying static AWS credentials for
GlueHiveMetastore through two new configuration options,
hive.metastore.glue.aws-access-key and
hive.metastore.glue.aws-secret-key.
This is helpful in situations where someone may want to access a glue
catalog through Presto without running the cluster on AWS
infrastructure.

Co-authored-by: Philippe Gagnon <pgagnon@users.noreply.github.com>
@highker highker self-assigned this May 25, 2021
@highker highker merged commit a178e5d into prestodb:master May 25, 2021
@jainxrohit jainxrohit mentioned this pull request Jun 5, 2021
4 tasks
@ajaygeorge ajaygeorge mentioned this pull request Jun 9, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants