-
Notifications
You must be signed in to change notification settings - Fork 371
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
Add new argument to allow setting the google requester pays project #1938
base: master
Are you sure you want to change the base?
Conversation
@yfarjoun I didn't remember why you needed to be able to set this through a system property. I renamed it to match the other picard system properties but on further thought maybe you wanted it to pick up from an environment variable? In which case we should rename it back to something without a |
Hi Louis, thanks for making this. I just tested it on Terra, first to check backwards compatibility in working with files that aren't requester-pays but to ensure the flag still works. Using the new jar without the RP flag works fine. Unfortunately it doesn't seem to work with the RP flag in Terra possibly because Terra permissions don't allow it. Here's the stacktrace I saw:
At first I thought this might be a mistake in passing Terra permissions to the service account, but then remembered it works fine without the RP flag. The way I set the RP flag was with |
@rickymagner Sorry, I was just re-reading this again, I seem to have forgotten the details. Are you saying that this broke something that was previously functional on terra? Or that adding the flag still doesn't work on terra because of the buckets.get issue? My understanding was that this should not break anything more than it already is broken, but that it will continue to not work on terra because of the other permissions issue here. |
If I remember correctly, it didn't fix the issue on Terra, but also didn't break anything. I think it came down to the Google |
* New argument REQUESTER_PAYS_PROJECT added to command line program. This allows configuring the project to use with requester pays buckets in GCS * This can also be configured by setting a new system property: picard.googleProjectForRequesterPays * Updated the initialization of GCS and HTTP filesystem providers
eddbf9b
to
7f30feb
Compare
This is an updated version of #1825
@yfarjoun This is a bit late to the party, but does this work for you?
@rickymagner Could you test that this works in your use case?