You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jin xing (JIRA)" <ji...@apache.org> on 2017/07/28 04:09:00 UTC
[jira] [Closed] (SPARK-21509) Add a config to enable adaptive
query execution only for the last query execution.
[ https://issues.apache.org/jira/browse/SPARK-21509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jin xing closed SPARK-21509.
----------------------------
Resolution: Won't Fix
> Add a config to enable adaptive query execution only for the last query execution.
> -----------------------------------------------------------------------------------
>
> Key: SPARK-21509
> URL: https://issues.apache.org/jira/browse/SPARK-21509
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.2.0
> Reporter: jin xing
>
> Feature of adaptive query execution is a good way to avoid generating too many small files on HDFS, like mentioned in SPARK-16188.
> When feature of adaptive query execution is enabled, all shuffles will be coordinated. The drawbacks:
> 1. It's hard to balance the num of reducers(this decides the processing speed) and file size on HDFS
> 2. It generates some unnecessary shuffles(https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/EnsureRequirements.scala#L101)
> 3. It generates lots of jobs, which have extra cost for scheduling.
> We can add a config and enable adaptive query execution only for the last shuffle.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org