-
Notifications
You must be signed in to change notification settings - Fork 141
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
Read extra Spark submit parameters from cluster settings #2219
Merged
penghuo
merged 11 commits into
opensearch-project:main
from
dai-chen:add-spark-submit-parameters-to-cluster-settings
Oct 5, 2023
Merged
Read extra Spark submit parameters from cluster settings #2219
penghuo
merged 11 commits into
opensearch-project:main
from
dai-chen:add-spark-submit-parameters-to-cluster-settings
Oct 5, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## main #2219 +/- ##
=========================================
Coverage 96.34% 96.35%
- Complexity 4724 4726 +2
=========================================
Files 439 439
Lines 12684 12689 +5
Branches 870 872 +2
=========================================
+ Hits 12221 12227 +6
Misses 454 454
+ Partials 9 8 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
dai-chen
requested review from
pjfitzgibbons,
ps48,
kavithacm,
derek-ho,
joshuali925,
YANG-DB,
rupal-bq,
mengweieric,
vmmusings,
Swiddis,
penghuo,
seankao-az,
MaxKsyunz,
Yury-Fridlyand,
anirudha,
forestmvey,
acarbonetto and
GumpacG
as code owners
October 5, 2023 21:01
penghuo
previously approved these changes
Oct 5, 2023
vmmusings
previously approved these changes
Oct 5, 2023
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
vmmusings
force-pushed
the
add-spark-submit-parameters-to-cluster-settings
branch
from
October 5, 2023 23:45
1a105a5
to
3128499
Compare
penghuo
approved these changes
Oct 5, 2023
YANG-DB
approved these changes
Oct 5, 2023
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Oct 5, 2023
* Add default setting for Spark execution engine Signed-off-by: Chen Dai <[email protected]> * Pass extra parameters to Spark dispatcher Signed-off-by: Chen Dai <[email protected]> * Wrap read default setting file with previlege action Signed-off-by: Chen Dai <[email protected]> * Fix spotless format Signed-off-by: Chen Dai <[email protected]> * Use input stream to read default config file Signed-off-by: Chen Dai <[email protected]> * Add UT for dispatcher Signed-off-by: Chen Dai <[email protected]> * Add more UT Signed-off-by: Chen Dai <[email protected]> * Remove default config setting Signed-off-by: Chen Dai <[email protected]> * Fix spotless check in spark module Signed-off-by: Chen Dai <[email protected]> * Refactor test code Signed-off-by: Chen Dai <[email protected]> * Add more UT on config class Signed-off-by: Chen Dai <[email protected]> --------- Signed-off-by: Chen Dai <[email protected]> (cherry picked from commit 492982c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Oct 5, 2023
* Add default setting for Spark execution engine Signed-off-by: Chen Dai <[email protected]> * Pass extra parameters to Spark dispatcher Signed-off-by: Chen Dai <[email protected]> * Wrap read default setting file with previlege action Signed-off-by: Chen Dai <[email protected]> * Fix spotless format Signed-off-by: Chen Dai <[email protected]> * Use input stream to read default config file Signed-off-by: Chen Dai <[email protected]> * Add UT for dispatcher Signed-off-by: Chen Dai <[email protected]> * Add more UT Signed-off-by: Chen Dai <[email protected]> * Remove default config setting Signed-off-by: Chen Dai <[email protected]> * Fix spotless check in spark module Signed-off-by: Chen Dai <[email protected]> * Refactor test code Signed-off-by: Chen Dai <[email protected]> * Add more UT on config class Signed-off-by: Chen Dai <[email protected]> --------- Signed-off-by: Chen Dai <[email protected]> (cherry picked from commit 492982c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
penghuo
pushed a commit
that referenced
this pull request
Oct 6, 2023
* Add default setting for Spark execution engine * Pass extra parameters to Spark dispatcher * Wrap read default setting file with previlege action * Fix spotless format * Use input stream to read default config file * Add UT for dispatcher * Add more UT * Remove default config setting * Fix spotless check in spark module * Refactor test code * Add more UT on config class --------- (cherry picked from commit 492982c) Signed-off-by: Chen Dai <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
penghuo
pushed a commit
that referenced
this pull request
Oct 6, 2023
* Add default setting for Spark execution engine * Pass extra parameters to Spark dispatcher * Wrap read default setting file with previlege action * Fix spotless format * Use input stream to read default config file * Add UT for dispatcher * Add more UT * Remove default config setting * Fix spotless check in spark module * Refactor test code * Add more UT on config class --------- (cherry picked from commit 492982c) Signed-off-by: Chen Dai <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add a new field
sparkSubmitParameters
inplugins.query.executionengine.spark.config
setting. This will be treated as extra parameters to append to Spark submit parameters generated in code.Manual test locally:
Some enhancement may be useful in future:
Issues Resolved
#2192
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.