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

[KYUUBI #6253] Support running JDBC engine on YARN AM #6275

Closed
wants to merge 5 commits into from

Conversation

lsm1
Copy link
Contributor

@lsm1 lsm1 commented Apr 9, 2024

🔍 Description

Issue References 🔗

This pull request fixes #6253

Describe Your Solution 🔧

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Types of changes 🔖

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪

Behavior Without This Pull Request ⚰️

Behavior With This Pull Request 🎉

image

Related Unit Tests


Checklist 📝

Be nice. Be informative.

@lsm1 lsm1 changed the title [KYUUBI #6253] Support running JDBC engine on YARN AM #6253 [KYUUBI #6253] Support running JDBC engine on YARN AM Apr 9, 2024
@pan3793 pan3793 requested a review from yikf April 9, 2024 04:05
@codecov-commenter
Copy link

codecov-commenter commented Apr 9, 2024

Codecov Report

Attention: Patch coverage is 60.65574% with 48 lines in your changes are missing coverage. Please review.

Project coverage is 58.84%. Comparing base (a632edc) to head (5ed4af0).
Report is 20 commits behind head on master.

Files Patch % Lines
...apache/kyuubi/engine/jdbc/JdbcProcessBuilder.scala 3.57% 27 Missing ⚠️
...ain/scala/org/apache/kyuubi/engine/EngineRef.scala 0.00% 8 Missing ⚠️
...i/engine/deploy/yarn/EngineYarnModeSubmitter.scala 50.00% 5 Missing and 1 partial ⚠️
...yuubi/engine/jdbc/JdbcYarnModeProcessBuilder.scala 90.00% 5 Missing and 1 partial ⚠️
...pache/kyuubi/engine/KyuubiApplicationManager.scala 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6275      +/-   ##
============================================
+ Coverage     58.48%   58.84%   +0.36%     
  Complexity       24       24              
============================================
  Files           651      654       +3     
  Lines         39513    40875    +1362     
  Branches       5441     5768     +327     
============================================
+ Hits          23109    24053     +944     
- Misses        13937    14313     +376     
- Partials       2467     2509      +42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

s"${KyuubiConf.ENGINE_PRINCIPAL.key} and " +
s"${KyuubiConf.ENGINE_KEYTAB.key} must be set when submit " +
s"${JdbcSQLEngine.getClass.getSimpleName.stripSuffix("$")} to YARN")
}
Copy link
Member

Choose a reason for hiding this comment

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

actually, this condition could be relaxed. but this can be done later, independently. cc @cxzl25

for hive, we require keytab to run MR jobs, but for JDBC, most DB does not require kerberos authentication.

@pan3793
Copy link
Member

pan3793 commented Apr 11, 2024

Just minor comments, LGTM

@pan3793 pan3793 added this to the v1.10.0 milestone Apr 11, 2024
Copy link
Contributor

@yikf yikf left a comment

Choose a reason for hiding this comment

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

Overall, LGTM, but I would also like @zhouyifan279 to take a look at the Kerberos authentication-related code if you find a time.

@cxzl25 cxzl25 closed this in 9aa5269 Apr 15, 2024
@cxzl25
Copy link
Contributor

cxzl25 commented Apr 15, 2024

Thanks, merged to master.

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.

[TASK][MEDIUM] Support running JDBC engine on YARN AM
5 participants