Skip to content

[LIVY-651] Provide a approach to get "owner" inside spark application#216

Open
yantzu wants to merge 4 commits into
apache:masterfrom
yantzu:add_owner_to_sparkcontext
Open

[LIVY-651] Provide a approach to get "owner" inside spark application#216
yantzu wants to merge 4 commits into
apache:masterfrom
yantzu:add_owner_to_sparkcontext

Conversation

@yantzu

@yantzu yantzu commented Aug 26, 2019

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

When impersonation is disabled, hadoop UGI user will always be livy server user, there is no way to get actually owner user in spark application.

This issue is to fix this problem by add a "spark.livy.owner" property to spark context. Spark application code can get this property if needed.

https://issues.apache.org/jira/browse/LIVY-651

How was this patch tested?

Update existing unit test, and test manually.
livyOwner

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has had no activity for at least 3 months. If you are still working on this change or plan to move it forward, please leave a comment or push a new commit so we know to keep it open. Otherwise, this PR will be closed automatically in about one month. Thank you for your contribution to Apache Livy!

@github-actions github-actions Bot added the stale label Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant