spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Izek Greenfield (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SPARK-23904) Big execution plan cause OOM
Date Thu, 31 May 2018 08:44:00 GMT

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

Izek Greenfield edited comment on SPARK-23904 at 5/31/18 8:43 AM:
------------------------------------------------------------------

[~RBerenguel] 
Class: SQLExecution
Method: withNewExecutionId
Line: 73

{code:scala}
sparkSession.sparkContext.listenerBus.post(SparkListenerSQLExecutionStart(
        executionId, callSite.shortForm, callSite.longForm, queryExecution.toString,
        SparkPlanInfo.fromSparkPlan(queryExecution.executedPlan), System.currentTimeMillis()))
{code}
 


was (Author: igreenfi):
[~RBerenguel] 
Class: SQLExecution
Method: withNewExecutionId
Line: 73

{code:scala}
sparkSession.sparkContext.listenerBus.post(SparkListenerSQLExecutionStart(
        executionId, callSite.shortForm, callSite.longForm, "queryExecution.toString",
        SparkPlanInfo.fromSparkPlan(queryExecution.executedPlan), System.currentTimeMillis()))
{code}
 

> Big execution plan cause OOM
> ----------------------------
>
>                 Key: SPARK-23904
>                 URL: https://issues.apache.org/jira/browse/SPARK-23904
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.1
>            Reporter: Izek Greenfield
>            Priority: Major
>              Labels: SQL, query
>
> I create a question in [StackOverflow|https://stackoverflow.com/questions/49508683/spark-physicalplandescription-string-is-to-big] 
> Spark create the text representation of query in any case even if I don't need it.
> That causes many garbage object and unneeded GC... 
>  [Gist with code to reproduce|https://gist.github.com/igreenfield/584c3336f03ba7d63e9026774eaf5e23]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message