Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20924#discussion_r177987175
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/BlockManagerMasterEndpoint.scala 
---
    @@ -192,11 +192,15 @@ class BlockManagerMasterEndpoint(
         val requiredBlockManagers = blockManagerInfo.values.filter { info =>
           removeFromDriver || !info.blockManagerId.isDriver
         }
    -    Future.sequence(
    -      requiredBlockManagers.map { bm =>
    -        bm.slaveEndpoint.ask[Int](removeMsg)
    -      }.toSeq
    -    )
    +    val futures = requiredBlockManagers.map { bm =>
    +      bm.slaveEndpoint.ask[Int](removeMsg).recover {
    +        case e: IOException =>
    +          logWarning(s"Error trying to remove broadcast $broadcastId", e)
    --- End diff --
    
    good idea, we can also add block manager id for the RDD case.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to