Github user caneGuy commented on a diff in the pull request: https://github.com/apache/spark/pull/19171#discussion_r139058928 --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala --- @@ -988,6 +988,12 @@ private[spark] class BlockManager( logWarning(s"Putting block $blockId failed") } res + } catch { + // Since removeBlockInternal may throw exception, + // we should print exception first to show root cause. + case e: Throwable => + logWarning(s"Putting block $blockId failed due to exception $e.") --- End diff -- Done @jerryshao
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org