You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/04/25 10:44:12 UTC

[jira] [Resolved] (SPARK-14636) Spark should fail fast if executor/driver memory is too small for the StaticMemoryManager

     [ https://issues.apache.org/jira/browse/SPARK-14636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-14636.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 12395
[https://github.com/apache/spark/pull/12395]

> Spark should fail fast if executor/driver memory is too small for the StaticMemoryManager
> -----------------------------------------------------------------------------------------
>
>                 Key: SPARK-14636
>                 URL: https://issues.apache.org/jira/browse/SPARK-14636
>             Project: Spark
>          Issue Type: Improvement
>    Affects Versions: 1.6.1
>            Reporter: Peter Ableda
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> When users are using the legacy ("--conf spark.memory.useLegacyMode=true") memory manager for Spark the application fails with meaningless ERROR messages.
> The UnifiedMemoryManager implements checks for the driver/executor memory settings (see: SPARK-12759).
> The StaticMemoryManager should have the same checks as the UnifiedMemoryManager to have the same fast-failing behaviour in the legacy mode too.
> This is important as users are having difficulties troubleshooting this issue with the current error messages.
> The checks and error messages should be the same for both modes:
> Driver memory:
> {code}
> java.lang.IllegalArgumentException: System memory 15204352 must be at least 471859200. Please increase heap size using the --driver-memory option or spark.driver.memory in Spark configuration.
> {code}
> Executor memory:
> {code}
> java.lang.IllegalArgumentException: Executor memory 15728640 must be at least 471859200. Please increase executor memory using the --executor-memory option or spark.executor.memory in Spark configuration.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org