LIVY-1060: Livy Spark sessions fail to connect to Hive Metastore over SSL with keystore password error - #532
Open
nileshrathi345 wants to merge 1 commit into
Open
Conversation
Contributor
Author
roczei
reviewed
Jul 27, 2026
roczei
left a comment
Contributor
There was a problem hiding this comment.
Hi @nileshrathi345 ,
Thanks for the PR! I’ve left a few comments for you to review.
Also, could you please add the AI tool usage section to the PR description, as outlined in our template?
Question to include:
"Was this patch authored or co-authored using generative AI tooling?"
Reference template: https://github.com/apache/livy/blob/master/.github/PULL_REQUEST_TEMPLATE#L13C4-L13C70
Thanks!
… SSL with keystore password error LIVY-1060: Livy Spark sessions fail to connect to Hive Metastore over SSL with keystore password error
nileshrathi345
force-pushed
the
master_LIVY-1060
branch
from
July 28, 2026 04:27
f778e25 to
971baca
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #532 +/- ##
============================================
+ Coverage 68.38% 68.61% +0.23%
- Complexity 1199 1215 +16
============================================
Files 106 106
Lines 6711 6800 +89
Branches 831 843 +12
============================================
+ Hits 4589 4666 +77
- Misses 1657 1664 +7
- Partials 465 470 +5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
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.
What changes were proposed in this pull request?
Resolves Hive Metastore SSL credential handling for Spark sessions/jobs submitted by Livy.
enrichHiveMetastoreSslConfinSparkApp.prepareSparkConfto readhive.metastore.keystore.passwordandhive.metastore.truststore.passwordfrom Livy’s local credential provider (livy.hadoop.security.credential.provider.path) and inject them asspark.hadoop.*properties for the Spark app.JIRA: https://issues.apache.org/jira/browse/LIVY-1060
How was this patch tested?
SparkAppSpecunit tests for no-op, successful HMS SSL resolution, unrelated credentials, and unreadable provider path cases.Was this patch authored or co-authored using generative AI tooling?
No