spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wendell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-4515) OOM/GC errors with sort-based shuffle
Date Fri, 21 Nov 2014 01:25:33 GMT

    [ https://issues.apache.org/jira/browse/SPARK-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220358#comment-14220358
] 

Patrick Wendell commented on SPARK-4515:
----------------------------------------

I can see that you are running LZF instead of the default snappy compressor. Are you using
anything else that is not a default spark setting?

> OOM/GC errors with sort-based shuffle
> -------------------------------------
>
>                 Key: SPARK-4515
>                 URL: https://issues.apache.org/jira/browse/SPARK-4515
>             Project: Spark
>          Issue Type: Bug
>          Components: Shuffle
>    Affects Versions: 1.2.0
>            Reporter: Nishkam Ravi
>            Priority: Blocker
>
> OOM/GC errors with sort-based shuffle that go away when shuffle.manager is set to hash.
Also observing memory leak issues. Can be reproduced with PageRank with a large enough input
dataset. Sample stack trace:
> {code}
> 19:22:14 WARN TaskSetManager: Lost task 56.0 in stage 1.0 (TID 298, c1706.halxg.cloudera.com):
java.lang.OutOfMemoryError: Java heap space
>         com.ning.compress.BufferRecycler.allocDecodeBuffer(BufferRecycler.java:137)
>         com.ning.compress.lzf.LZFInputStream.<init>(LZFInputStream.java:111)
>         com.ning.compress.lzf.LZFInputStream.<init>(LZFInputStream.java:97)
>         com.ning.compress.lzf.LZFInputStream.<init>(LZFInputStream.java:80)
>         org.apache.spark.io.LZFCompressionCodec.compressedInputStream(CompressionCodec.scala:107)
>         org.apache.spark.storage.BlockManager.wrapForCompression(BlockManager.scala:1155)
>         org.apache.spark.util.collection.ExternalSorter$SpillReader.nextBatchStream(ExternalSorter.scala:559)
>         org.apache.spark.util.collection.ExternalSorter$SpillReader.<init>(ExternalSorter.scala:531)
>         org.apache.spark.util.collection.ExternalSorter$$anonfun$6.apply(ExternalSorter.scala:379)
>         org.apache.spark.util.collection.ExternalSorter$$anonfun$6.apply(ExternalSorter.scala:379)
>         scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
>         scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
>         scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
>         scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
>         scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
>         scala.collection.AbstractTraversable.map(Traversable.scala:105)
>         org.apache.spark.util.collection.ExternalSorter.merge(ExternalSorter.scala:379)
>         org.apache.spark.util.collection.ExternalSorter.partitionedIterator(ExternalSorter.scala:686)
>         org.apache.spark.util.collection.ExternalSorter.writePartitionedFile(ExternalSorter.scala:739)
>         org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:70)
>         org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
>         org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
>         org.apache.spark.scheduler.Task.run(Task.scala:56)
>         org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:195)
>         java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message