You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "EdisonWang (JIRA)" <ji...@apache.org> on 2018/12/29 05:36:00 UTC

[jira] [Created] (SPARK-26500) Add conf to support ignore hdfs data locality

EdisonWang created SPARK-26500:
----------------------------------

             Summary: Add conf to support ignore hdfs data locality
                 Key: SPARK-26500
                 URL: https://issues.apache.org/jira/browse/SPARK-26500
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.4.0
            Reporter: EdisonWang


When reading a large hive table/directory with thousands of files, it will cost up to several minutes or even hours to calculate data locality for each split in driver, while executors are in idle status.

This situation is even worth when running in SparkThriftServer mode, because handleJobSubmitted(it will call getPreferedLocation) is handled in a single thread. One big sql will block all the following sqls.

At the same time, most companies's internal networks are all gigabit network cards, so it is ok to read a data not locality.



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