spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damon Brown (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-3151) DiskStore attempts to map any size BlockId without checking MappedByteBuffer limit
Date Wed, 20 Aug 2014 18:42:27 GMT
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


Mime
View raw message