apache/spark — pull request #3574 by suyanNone (2014-12-03 07:35:56+00:00)
Title: [SPARK-4714][CORE]: Add checking info is null or not while having gotten info.syn

[SPARK-4714][CORE]: Add checking info is null or not while having gotten info.syn
in removeBlock()/ dropOldBlock()/ dropFromMemory()
all have the same logic:
1. info = blockInfo.get(id)
2. if (info != null)
3. info.synchronized
there may be a possibility that while one thread got info.lock while the previous thread already removed from blockinfo in info.lock.
but one thing in current code, That not check info is null or not, while getting info.lock to remove block, will not cause any errors.