-
Notifications
You must be signed in to change notification settings - Fork 190
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
Unable to authenticate using 'credentials' option #249
Comments
Can you please try the following:
|
Fixed by PR #250 |
Hi, not sure it's the best place to post that but I'm getting the following error using 0.17.3 :
I'm setting up like that and my job will run on AWS EMR (only writes on BQ, no read):
|
@gbougeard Can you please validate that the service account JSON fields conforms with the one from https://cloud.google.com/iam/docs/creating-managing-service-account-keys ? especially the |
here is an extract of my service account in json:
|
Hi,
I am writing a Spark (2.4.3) application using Scala (2.11.12) which reads data from a BigQuery table with the help of
spark-bigquery-with-dependencies
package (0.17.2). The application does not run on the Google Cloud machines, therefore it has to authenticate. Below is my code:I mustn't use
credentialsFile
option. Therefore, I converted my json credentials file to a Base64 string and I am passing it tocredentials
option. But this is what I got:The program is unable to infer credentials from
credentials
option. Actually I think it does not even trying to do so, it just directly looks at theGOOGLE_APPLICATION_CREDENTIALS
and crashes if it does not exist. I mustn't use an external json credential file in my app hence I mustn't use an environment variable, too.I would be appreciated if you could help. Thanks by now!
The text was updated successfully, but these errors were encountered: