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

Set SparkBatch Job Properties #11087

Open
HsinghaoFu opened this issue Jul 28, 2022 · 1 comment
Open

Set SparkBatch Job Properties #11087

HsinghaoFu opened this issue Jul 28, 2022 · 1 comment
Labels
api: dataproc Issues related to the Dataproc API. type: question Request for information or clarification. Not an issue.

Comments

@HsinghaoFu
Copy link

Hi,

In gcloud command I can set properties like :

gcloud dataproc batches submit job_name
--properties ^~^spark.jars.packages=org.apache.spark:spark-avro_2.12:3.2.1~spark.executor.instances=4

But in this client there is no method to set it in class SparkBatch.

I use the Cloud Composer (Airflow on GCP) to creat the Dataproc Serverless Job and the example code on this page using the DataprocCreateBatchOperator looks like to use our library.

How can I set the properties?

Thank you!

@product-auto-label product-auto-label bot added the api: dataproc Issues related to the Dataproc API. label Jul 28, 2022
@meredithslota meredithslota added the type: question Request for information or clarification. Not an issue. label Aug 10, 2022
@parthea
Copy link
Contributor

parthea commented Apr 17, 2023

I'm going to transfer this issue to the google-cloud-python repository as we are preparing to move the code for google-cloud-dataproc to that repository in the next 1-2 weeks.

@parthea parthea transferred this issue from googleapis/python-dataproc Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dataproc Issues related to the Dataproc API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants