Skip to content

Comments

[MINOR][PYTHON] Use _memory_limit to get worker memory conf in rdd.py#25273

Closed
WangGuangxin wants to merge 1 commit intoapache:masterfrom
WangGuangxin:python_memory_limit
Closed

[MINOR][PYTHON] Use _memory_limit to get worker memory conf in rdd.py#25273
WangGuangxin wants to merge 1 commit intoapache:masterfrom
WangGuangxin:python_memory_limit

Conversation

@WangGuangxin
Copy link
Contributor

What changes were proposed in this pull request?

Replace duplicate code by function _memory_limit

How was this patch tested?

Existing UTs

@WangGuangxin
Copy link
Contributor Author

cc @HyukjinKwon

@dongjoon-hyun
Copy link
Member

ok to test

@dongjoon-hyun dongjoon-hyun changed the title [MINOR][PYTHON] Remove duplicate _memory_limit logic [MINOR][PYTHON] Use _memory_limit to get worker memory conf Jul 27, 2019
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Hi, @WangGuangxin . According to the commit history, this can be applied to branch-2.4/2.3. Could you make a JIRA issue and use it for traceability?

@SparkQA
Copy link

SparkQA commented Jul 27, 2019

Test build #108254 has finished for PR 25273 at commit 578c0d0.

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

@dongjoon-hyun dongjoon-hyun changed the title [MINOR][PYTHON] Use _memory_limit to get worker memory conf [MINOR][PYTHON] Use _memory_limit to get worker memory conf in rdd.py Jul 27, 2019
@dongjoon-hyun
Copy link
Member

Hmm. Never mind. Let's consider only master branch.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Merged to master. Thank you, @WangGuangxin .

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.

3 participants