spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-12598) Bug in setMinPartitions function of StreamFileInputFormat
Date Thu, 07 Jan 2016 21:18:39 GMT

     [ https://issues.apache.org/jira/browse/SPARK-12598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Owen resolved SPARK-12598.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.1
                   2.0.0

Issue resolved by pull request 10546
[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
>          Components: Spark Core
>    Affects Versions: 1.5.2
>            Reporter: Darek Blasiak
>            Priority: Minor
>             Fix For: 2.0.0, 1.6.1
>
>
> 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


Mime
View raw message