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

[WIP][SPARK-22374][SQL][2.2] closeAllForUGI is required after using loginUserFromKeytab #19593

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

In a secure cluster, FileSystem.Cache grows indefinitely when we use

  1. spark.yarn.principal and spark.yarn.keytab is used.
  2. Spark Thrift Server run with hive.server2.enable.doAs=false.

For example, with 6GB (-Xmx6144m) options, HiveConf consumes 4GB inside FileSystem.CACHE and OOM occurs. This PR aims to clear up FileSystem.Cache by using closeAllForUGI.

2

3

How was this patch tested?

N/A

@SparkQA
Copy link

SparkQA commented Oct 28, 2017

Test build #83142 has finished for PR 19593 at commit ea3943e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vanzin
Copy link
Contributor

vanzin commented Oct 28, 2017

Does the problem not exist on master? Why isn't the PR against master?

@dongjoon-hyun
Copy link
Member Author

Thank you for review, @vanzin .
Sorry, I'll close this PR.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-22374 branch January 7, 2019 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants