[
https://issues.apache.org/jira/browse/SPARK-25069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574543#comment-16574543
]
Apache Spark commented on SPARK-25069:
--------------------------------------
User 'eatoncys' has created a pull request for this issue:
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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]