Skip to content

Conversation

@yongtang
Copy link
Contributor

@yongtang yongtang commented Apr 5, 2016

What changes were proposed in this pull request?

This fix tries to address the issue in PySpark where spark.python.worker.memory
could only be configured with a lower case unit (k, m, g, t). This fix
allows the upper case unit (K, M, G, T) to be used as well. This is to
conform to the JVM memory string as is specified in the documentation .

How was this patch tested?

This fix adds additional test to cover the changes.

…case unit.

This fix tries to address the issue in PySpark where `spark.python.worker.memory`
could only be configured with a lower case unit (`k`, `m`, `g`, `t`). This fix
allows the upper case unit (`K`, `M`, `G`, `T`) to be used as well. This is to
conform to the JVM memory string as is specified in the documentation .

This fix adds additional test to cover the changes.
@srowen
Copy link
Member

srowen commented Apr 5, 2016

LGTM

@srowen
Copy link
Member

srowen commented Apr 5, 2016

Jenkins test this please

@SparkQA
Copy link

SparkQA commented Apr 5, 2016

Test build #54924 has finished for PR 12163 at commit 17ae270.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@sarutak
Copy link
Member

sarutak commented Apr 5, 2016

retest this please.

@SparkQA
Copy link

SparkQA commented Apr 5, 2016

Test build #54935 has finished for PR 12163 at commit 17ae270.

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

@sarutak
Copy link
Member

sarutak commented Apr 5, 2016

LGTM as well. Merging this into master and branch-1.6.

asfgit pushed a commit that referenced this pull request Apr 5, 2016
…case unit.

## What changes were proposed in this pull request?

This fix tries to address the issue in PySpark where `spark.python.worker.memory`
could only be configured with a lower case unit (`k`, `m`, `g`, `t`). This fix
allows the upper case unit (`K`, `M`, `G`, `T`) to be used as well. This is to
conform to the JVM memory string as is specified in the documentation .

## How was this patch tested?

This fix adds additional test to cover the changes.

Author: Yong Tang <[email protected]>

Closes #12163 from yongtang/SPARK-14368.

(cherry picked from commit 7db5624)
Signed-off-by: Kousuke Saruta <[email protected]>
@asfgit asfgit closed this in 7db5624 Apr 5, 2016
@yongtang yongtang deleted the SPARK-14368 branch April 5, 2016 03:43
zzcclp pushed a commit to zzcclp/spark that referenced this pull request Apr 5, 2016
…case unit.

## What changes were proposed in this pull request?

This fix tries to address the issue in PySpark where `spark.python.worker.memory`
could only be configured with a lower case unit (`k`, `m`, `g`, `t`). This fix
allows the upper case unit (`K`, `M`, `G`, `T`) to be used as well. This is to
conform to the JVM memory string as is specified in the documentation .

## How was this patch tested?

This fix adds additional test to cover the changes.

Author: Yong Tang <[email protected]>

Closes apache#12163 from yongtang/SPARK-14368.

(cherry picked from commit 7db5624)
Signed-off-by: Kousuke Saruta <[email protected]>
(cherry picked from commit 285cb9c)
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.

4 participants