Github user mridulm commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17290#discussion_r106788142
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala ---
    @@ -340,7 +340,7 @@ private[storage] class BlockInfoManager extends Logging 
{
         val blocksWithReleasedLocks = mutable.ArrayBuffer[BlockId]()
     
         val readLocks = synchronized {
    -      readLocksByTask.remove(taskAttemptId).get
    +      
readLocksByTask.remove(taskAttemptId).getOrElse(ImmutableMultiset.of[BlockId]())
    --- End diff --
    
    Missed this PR earlier .. sorry about that.
    Since this is an unexpected scenario (it really must not happen according 
to current code !), we should probably have logged the stack trace and warning 
message in the logs to help debug.
    It silently ignores a fairly bad bug otherwise.


---
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

Reply via email to