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

Fix fragment offset comparison in getBlockHosts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.4
    • 3.0.0
    • SQL
    • None

    Description

      There is a bug in the getBlockHosts() function. In the case "The fragment ends at a position within this block", the end of fragment should be before the end of block,where the "end of block" means b.getOffset + b.getLength,not b.getLength.

      Attachments

        Issue Links

          Activity

            People

              madianjun madianjun
              madianjun madianjun
              Sean R. Owen Sean R. Owen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: