You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/12/06 07:42:00 UTC

[jira] [Updated] (SPARK-30067) Fix fragment offset comparison in getBlockHosts

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

Dongjoon Hyun updated SPARK-30067:
----------------------------------
    Summary: Fix fragment offset comparison in getBlockHosts  (was: A bug in getBlockHosts)

> Fix fragment offset comparison in getBlockHosts
> -----------------------------------------------
>
>                 Key: SPARK-30067
>                 URL: https://issues.apache.org/jira/browse/SPARK-30067
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.4
>            Reporter: madianjun
>            Assignee: madianjun
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> 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}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org