Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12598

Bug in setMinPartitions function of StreamFileInputFormat

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.6.1, 2.0.0
    • Component/s: Spark Core
    • Labels:
      None
    • Flags:
      Patch

      Description

      The maxSplitSize should be computed as:

      val maxSplitSize = Math.ceil(totalLen * 1.0 / minPartitions).toLong

        Attachments

          Activity

            People

            • Assignee:
              datafarmer Darek Blasiak
              Reporter:
              datafarmer Darek Blasiak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: