Github user srowen commented on the issue: https://github.com/apache/spark/pull/14961 Hm, no I take it back, it's a consistent failure that doesn't show up in the main test builds (for any Hadoop version): ``` [info] - using external shuffle service *** FAILED *** (1 minute, 33 seconds) [info] org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 11, localhost): java.io.IOException: org.apache.spark.storage.BlockFetchException: Failed to fetch block after 1 fetch failures. Most recent failure cause: [info] at org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:1260) [info] at org.apache.spark.broadcast.TorrentBroadcast.readBroadcastBlock(TorrentBroadcast.scala:174) [info] at org.apache.spark.broadcast.TorrentBroadcast._value$lzycompute(TorrentBroadcast.scala:65) [info] at org.apache.spark.broadcast.TorrentBroadcast._value(TorrentBroadcast.scala:65) [info] at org.apache.spark.broadcast.TorrentBroadcast.getValue(TorrentBroadcast.scala:89) [info] at org.apache.spark.broadcast.Broadcast.value(Broadcast.scala:70) [info] at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:72) [info] at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:47) [info] at org.apache.spark.scheduler.Task.run(Task.scala:86) [info] at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274) [info] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [info] at java.lang.Thread.run(Thread.java:745) [info] Caused by: org.apache.spark.storage.BlockFetchException: Failed to fetch block after 1 fetch failures. Most recent failure cause: [info] at org.apache.spark.storage.BlockManager.getRemoteBytes(BlockManager.scala:567) [info] at org.apache.spark.broadcast.TorrentBroadcast$$anonfun$org$apache$spark$broadcast$TorrentBroadcast$$readBlocks$1.apply$mcVI$sp(TorrentBroadcast.scala:136) [info] at org.apache.spark.broadcast.TorrentBroadcast$$anonfun$org$apache$spark$broadcast$TorrentBroadcast$$readBlocks$1.apply(TorrentBroadcast.scala:125) [info] at org.apache.spark.broadcast.TorrentBroadcast$$anonfun$org$apache$spark$broadcast$TorrentBroadcast$$readBlocks$1.apply(TorrentBroadcast.scala:125) [info] at scala.collection.immutable.List.foreach(List.scala:381) [info] at org.apache.spark.broadcast.TorrentBroadcast.org$apache$spark$broadcast$TorrentBroadcast$$readBlocks(TorrentBroadcast.scala:125) [info] at org.apache.spark.broadcast.TorrentBroadcast$$anonfun$readBroadcastBlock$1.apply(TorrentBroadcast.scala:186) [info] at org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:1253) [info] ... 12 more [info] Caused by: org.apache.spark.SparkException: Exception thrown in awaitResult: [info] at org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:194) [info] at org.apache.spark.network.BlockTransferService.fetchBlockSync(BlockTransferService.scala:104) [info] at org.apache.spark.storage.BlockManager.getRemoteBytes(BlockManager.scala:556) [info] ... 19 more [info] Caused by: java.io.IOException: Connection reset by peer [info] at sun.nio.ch.FileDispatcherImpl.read0(Native Method) [info] at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) [info] at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) [info] at sun.nio.ch.IOUtil.read(IOUtil.java:192) [info] at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) [info] at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:221) [info] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:899) [info] at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:275) [info] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) [info] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) [info] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) [info] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) [info] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [info] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) [info] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [info] ... 1 more [info] ``` The rest are knock-on errors. Clearly something to do with the block fetcher no longer quite working, or maybe failing to start. If you want to debug it I'd maybe scan `mvn dependency:tree` to see if somehow this updated only one of several netty artifacts and we somehow have a mismatched set now. (You will see Netty 3 artifacts from Hadoop but the question is whether something is stuck on 4.0.29).
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org