aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/sql/types.py
diff options
context:
space:
mode:
authorCarson Wang <carson.wang@intel.com>2015-08-07 23:36:26 -0700
committerAndrew Or <andrew@databricks.com>2015-08-07 23:36:26 -0700
commitef062c15992b0d08554495b8ea837bef3fabf6e9 (patch)
tree617fad193916589da5194f829cff96b0800e5b4e /python/pyspark/sql/types.py
parentc564b27447ed99e55b359b3df1d586d5766b85ea (diff)
downloadspark-ef062c15992b0d08554495b8ea837bef3fabf6e9.tar.gz
spark-ef062c15992b0d08554495b8ea837bef3fabf6e9.tar.bz2
spark-ef062c15992b0d08554495b8ea837bef3fabf6e9.zip
[SPARK-9731] Standalone scheduling incorrect cores if spark.executor.cores is not set
The issue only happens if `spark.executor.cores` is not set and executor memory is set to a high value. For example, if we have a worker with 4G and 10 cores and we set `spark.executor.memory` to 3G, then only 1 core is assigned to the executor. The correct number should be 10 cores. I've added a unit test to illustrate the issue. Author: Carson Wang <carson.wang@intel.com> Closes #8017 from carsonwang/SPARK-9731 and squashes the following commits: d09ec48 [Carson Wang] Fix code style 86b651f [Carson Wang] Simplify the code 943cc4c [Carson Wang] fix scheduling correct cores to executors
Diffstat (limited to 'python/pyspark/sql/types.py')
0 files changed, 0 insertions, 0 deletions