-
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
Specifying a custom service account for dataproc cluster causes error #36
Comments
It looks like you've included only part of the error message here -- can you share the error itself, or the full thread stack? |
@kmjung i've attached the part of the error message that is relevant. It is working fine with the default service account. |
Get the same issue when explicitly passing the credentials via:
|
@kmjung i am using The reader is being included in a dependencies jar, the same way as i include other custom readers not provided on the cluster (ie. spark-avro etc...) with no issues. Is it recommended that it be installed via spark-packages via a dataproc initialisation action? Then specified as "provided" in my build? I can also try with more recent dataproc 1.4.x version and Spark > 2.x ? |
@kmjung i could get it working via just including the shaded jar as you mentioned on the classpath via jarFileUris (--jars) along with my application jars:
Specifying "provided" in my build:
Thanks for your help. |
When specifying a custom service account for the dataproc cluster:
data_proc_image:
1.4.0-debian9
spark-bigquery-connector:
0.7.0-beta
Without a custom service account, seems everything is fine. However, i need to use a custom service account for cross account access to BQ:
com.google.cloud.bigquery.BigQueryException: Access Denied: Table [[ omitted ]]: The user 564585695625-compute@developer.gserviceaccount.com does not have bigquery.tables.get permission for table
The text was updated successfully, but these errors were encountered: