You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nan Zhu (JIRA)" <ji...@apache.org> on 2017/12/15 03:33:00 UTC

[jira] [Commented] (SPARK-22790) add a configurable factor to describe HadoopFsRelation's size

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

Nan Zhu commented on SPARK-22790:
---------------------------------

created per discussion in https://github.com/apache/spark/pull/19864 (will file a PR soon)

> add a configurable factor to describe HadoopFsRelation's size
> -------------------------------------------------------------
>
>                 Key: SPARK-22790
>                 URL: https://issues.apache.org/jira/browse/SPARK-22790
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Nan Zhu
>
> as per discussion in https://github.com/apache/spark/pull/19864#discussion_r156847927
> the current HadoopFsRelation is purely based on the underlying file size which is not accurate and makes the execution vulnerable to errors like OOM
> Users can enable CBO with the functionalities in https://github.com/apache/spark/pull/19864 to avoid this issue
> This JIRA proposes to add a configurable factor to sizeInBytes method in HadoopFsRelation class so that users can mitigate this problem without CBO



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