spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-14636) Spark should fail fast if executor/driver memory is too small for the StaticMemoryManager
Date Thu, 14 Apr 2016 14:17:25 GMT

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

Apache Spark reassigned SPARK-14636:
------------------------------------

    Assignee: Apache Spark

> 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
>            Reporter: Peter Ableda
>            Assignee: Apache Spark
>
> 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:
> 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


Mime
View raw message