You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Damon Brown (JIRA)" <ji...@apache.org> on 2014/08/20 20:42:27 UTC
[jira] [Created] (SPARK-3151) DiskStore attempts to map any size
BlockId without checking MappedByteBuffer limit
Damon Brown created SPARK-3151:
----------------------------------
Summary: DiskStore attempts to map any size BlockId without checking MappedByteBuffer limit
Key: SPARK-3151
URL: https://issues.apache.org/jira/browse/SPARK-3151
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 1.0.2
Environment: IBM 64-bit JVM PPC64
Reporter: Damon Brown
Priority: Minor
[DiskStore|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/storage/DiskStore.scala] attempts to memory map the block file in {{def getBytes}}. If the file is larger than 2GB (Integer.MAX_VALUE) as specified by [FileChannel.map|http://docs.oracle.com/javase/7/docs/api/java/nio/channels/FileChannel.html#map%28java.nio.channels.FileChannel.MapMode,%20long,%20long%29], then the memory map fails.
{code}
Some(channel.map(MapMode.READ_ONLY, segment.offset, segment.length)) # line 104
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org