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

Bug in setMinPartitions function of StreamFileInputFormat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.2
    • 1.6.1, 2.0.0
    • Spark Core
    • None
    • Patch

    Description

      The maxSplitSize should be computed as:

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: