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

SparkSubmit: Adding propertyfiles option #36164

Merged
merged 8 commits into from
Dec 11, 2023

Conversation

pateash
Copy link
Contributor

@pateash pateash commented Dec 11, 2023

closes: #34838

Description

There is an option to override the default conf/spark-defaults.conf properties in Spark-submit
image

We want to have that option in SparkSubmitOperator and Hook as well.

@pateash pateash changed the title 34838 adding propertyfiles option SparkSubmit: Adding propertyfiles option Dec 11, 2023
@pateash pateash force-pushed the 34838-Adding-propertyfiles-option branch 2 times, most recently from 425c16c to 07aaf5d Compare December 11, 2023 09:35
@pateash pateash marked this pull request as ready for review December 11, 2023 09:38
@pateash
Copy link
Contributor Author

pateash commented Dec 11, 2023

cc. @ghostp13409

ghostp13409 and others added 7 commits December 11, 2023 16:23
Introduce a new parameter 'properties_file' in SparkSubmitHook and SparkSubmitOperator. This allows loading of extra properties from a specified file, defaulting to conf/spark-defaults.conf if nothing is specified. The goal is to provide greater flexibility for Spark configuration. The changes have been tested for the affected files.
Updated the alt text of an image in the example_twitter_README.md file for better accessibility and SEO. The change provides a more detailed description of the screenshot, enhancing understanding for visually impaired users and search engines."
@pateash pateash force-pushed the 34838-Adding-propertyfiles-option branch from 769c92d to ca439a6 Compare December 11, 2023 10:53
@@ -33,7 +33,7 @@
1. Save Summary to MySQL

***Screenshot:***
<img src="http://i.imgur.com/rRpSO12.png" width="99%"/>
<img src="http://i.imgur.com/rRpSO12.png" width="99%" alt="Dag for Collecting tweets for four users account"/>

Copy link
Member

Choose a reason for hiding this comment

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

Is this change related to the main goal of this PR?

Copy link
Contributor Author

@pateash pateash Dec 11, 2023

Choose a reason for hiding this comment

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

No, this was a pre-commit failure.
as all the images need an alt-text, may be due to addition of this new rule
https://github.com/DavidAnson/markdownlint/blob/main/doc/md045.md

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed in #36169

@pateash pateash requested a review from eladkal December 11, 2023 15:38
@potiuk potiuk merged commit 195abf8 into apache:main Dec 11, 2023
50 checks passed
@pateash pateash deleted the 34838-Adding-propertyfiles-option branch June 11, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding property files option in the Spark Submit command
5 participants