You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/01/02 13:54:39 UTC

[jira] [Commented] (SPARK-12598) Bug in setMinPartitions function of StreamFileInputFormat

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

Apache Spark commented on SPARK-12598:
--------------------------------------

User 'datafarmer' has created a pull request for this issue:
https://github.com/apache/spark/pull/10546

> Bug in setMinPartitions function of StreamFileInputFormat
> ---------------------------------------------------------
>
>                 Key: SPARK-12598
>                 URL: https://issues.apache.org/jira/browse/SPARK-12598
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>            Reporter: Darek Blasiak
>            Priority: Minor
>
> The maxSplitSize should be computed as:
> val maxSplitSize = Math.ceil(totalLen * 1.0 / minPartitions).toLong



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