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

Wenchen Fan resolved SPARK-25069.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0

Issue resolved by pull request 22053
[https://github.com/apache/spark/pull/22053]

> Using UnsafeAlignedOffset to make the entire record of 8 byte Items aligned 
> like which is used in UnsafeExternalSorter 
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-25069
>                 URL: https://issues.apache.org/jira/browse/SPARK-25069
>             Project: Spark
>          Issue Type: Improvement
>          Components: Shuffle
>    Affects Versions: 2.3.1
>            Reporter: eaton
>            Priority: Major
>             Fix For: 2.4.0
>
>
> The class of UnsafeExternalSorter used UnsafeAlignedOffset to make the entire 
> record of 8 byte Items aligned, but ShuffleExternalSorter not.
> The SPARC platform requires this because using a 4 byte Int for record 
> lengths causes the entire record of 8 byte Items to become misaligned by 4 
> bytes. Using a 8 byte long for record length keeps things 8 byte aligned.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to