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

Fix GCS credential config and rename to hive.gcs.json-key-file-path #11086

Closed

Conversation

majetideepak
Copy link
Collaborator

@majetideepak majetideepak commented Sep 25, 2024

Current hive.gcs.credentials expects a JSON string with the GCS service account configuration.
However, this JSON string is expected to be unescaped by the google C++ SDK. It is not possible to pass an unescaped JSON string via a config file.
The norm seems to specify a file path with the service account configuration.
Presto uses hive.gcs.json-key-file-path. Velox will use the same.
https://github.com/prestodb/presto/blob/62ca0801fba8448b162fe89f8dab10e0c14158e1/presto-docs/src/main/sphinx/release/release-0.225.rst#hive-changes

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 25, 2024
Copy link

netlify bot commented Sep 25, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 5193871
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/66f9d4fbb8d5b200088dbf71

@majetideepak
Copy link
Collaborator Author

@tigrux do you have any feedback on this?

@tigrux
Copy link
Contributor

tigrux commented Sep 25, 2024

Thanks for taking care of this.

@majetideepak majetideepak changed the title Fix GCS credential config Fix GCS credential config and rename to hive.gcs.json-key-file-path Sep 25, 2024
Copy link
Collaborator

@czentgr czentgr left a comment

Choose a reason for hiding this comment

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

Thank you for this change!

@majetideepak majetideepak added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Sep 27, 2024
@kagamiori
Copy link
Contributor

Hi @majetideepak, there seems to be a build error from GCSFileSystemTest.cpp in the failed CI job (https://github.com/facebookincubator/velox/actions/runs/11033835431/job/30645931332?pr=11086). Could you take a look?

@majetideepak
Copy link
Collaborator Author

majetideepak commented Sep 30, 2024

@kagamiori GCSFileSystemTest on CI is now passing. Thanks!

@facebook-github-bot
Copy link
Contributor

@kagamiori has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kagamiori merged this pull request in fcc1b1c.

Copy link

Conbench analyzed the 1 benchmark run on commit fcc1b1c1.

There was 1 benchmark result indicating a performance regression:

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants