Darek Blasiak created SPARK-12598:
-------------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]