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

[Backport 2.11] Read extra Spark submit parameters from cluster settings #2236

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 492982c from #2219.

* 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>
@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

❗ No coverage uploaded for pull request base (2.11@7b23f13). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head c2b6fbb differs from pull request most recent head ddbaeae. Consider uploading reports for the commit ddbaeae to get more accurate results

@@           Coverage Diff           @@
##             2.11    #2236   +/-   ##
=======================================
  Coverage        ?   96.41%           
  Complexity      ?     4763           
=======================================
  Files           ?      440           
  Lines           ?    12855           
  Branches        ?      874           
=======================================
  Hits            ?    12394           
  Misses          ?      452           
  Partials        ?        9           
Flag Coverage Δ
sql-engine 96.41% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@penghuo penghuo merged commit a1518e3 into 2.11 Oct 6, 2023
24 of 26 checks passed
@github-actions github-actions bot deleted the backport/backport-2219-to-2.11 branch October 6, 2023 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants