spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matei Zaharia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-3466) Limit size of results that a driver collects for each action
Date Tue, 21 Oct 2014 01:37:33 GMT

    [ https://issues.apache.org/jira/browse/SPARK-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177800#comment-14177800
] 

Matei Zaharia commented on SPARK-3466:
--------------------------------------

The way I'd build this is by putting a limit on the serialization stream we use for results
on the executors. What did you have in mind, Matt?

> Limit size of results that a driver collects for each action
> ------------------------------------------------------------
>
>                 Key: SPARK-3466
>                 URL: https://issues.apache.org/jira/browse/SPARK-3466
>             Project: Spark
>          Issue Type: New Feature
>          Components: Spark Core
>            Reporter: Matei Zaharia
>            Assignee: Matthew Cheah
>
> Right now, operations like {{collect()}} and {{take()}} can crash the driver with an
OOM if they bring back too many data. We should add a {{spark.driver.maxResultSize}} setting
(or something like that) that will make the driver abort a job if its result is too big. We
can set it to some fraction of the driver's memory by default, or to something like 100 MB.



--
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