Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/17334#discussion_r106778471
--- Diff: core/src/main/scala/org/apache/spark/rdd/BlockRDD.scala ---
@@ -47,7 +47,9 @@ class BlockRDD[T: ClassTag](sc: SparkContext, @transient
val blockIds: Array[Blo
blockManager.get[T](blockId) match {
case Some(block) => block.data.asInstanceOf[Iterator[T]]
case None =>
- throw new Exception("Could not compute split, block " + blockId +
" not found")
+ throw new Exception(
+ s"Could not compute split, block $blockId not found of RDD $id
not found")
--- End diff --
The first 'not found' is redundant and should be removed. This can go on
one line as before
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]