You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "eaton (JIRA)" <ji...@apache.org> on 2018/08/09 09:14:00 UTC
[jira] [Created] (SPARK-25069) Using UnsafeAlignedOffset to make
the entire record of 8 byte Items aligned like which is used in
UnsafeExternalSorter
eaton created SPARK-25069:
-----------------------------
Summary: 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
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org