Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

#21977 added a feature to limit Python worker resource limit.
This PR is kind of a followup of it. It proposes to add a test that checks the actual resource limit set by 'spark.executor.pyspark.memory'.

How was this patch tested?

Unit tests were added.

@HyukjinKwon
Copy link
Member Author

cc @rdblue and @vanzin

@SparkQA
Copy link

SparkQA commented Jan 27, 2019

Test build #101722 has finished for PR 23663 at commit 9f78eb5.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class WorkerMemoryTest(PySparkTestCase):

Copy link
Contributor

@rdblue rdblue left a comment

Choose a reason for hiding this comment

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

+1. Thanks for finding a good way to test this!

@HyukjinKwon
Copy link
Member Author

Thanks guys!

Merged to master.

@asfgit asfgit closed this in 3a17c6a Jan 28, 2019
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
…set via 'spark.executor.pyspark.memory'

## What changes were proposed in this pull request?

apache#21977 added a feature to limit Python worker resource limit.
This PR is kind of a followup of it. It proposes to add a test that checks the actual resource limit set by 'spark.executor.pyspark.memory'.

## How was this patch tested?

Unit tests were added.

Closes apache#23663 from HyukjinKwon/test_rlimit.

Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
@HyukjinKwon HyukjinKwon deleted the test_rlimit branch March 3, 2020 01:20
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.

5 participants