dydeve opened a new pull request #24676: [SPARK-27804] LiveListenerBus may 
create multiple AsyncEventQueues with same name in concurrent scene
URL: https://github.com/apache/spark/pull/24676
 
 
   ## What changes were proposed in this pull request?
   
   LiveListenerBus may create multiple AsyncEventQueues with the same name when 
run in multi-thread scene and those created AsyncEventQueues will be added to 
queues finally.
   
   In this patch, I change the `queues: CopyOnWriteArrayList` to `map: 
ConcurrentHashMap` which promise that only one of the AsyncEventQueues created 
with same name will be added to  map.
   
   ## How was this patch tested?
   tested in SparkListenerSuite  BlacklistTrackerSuite BlockManagerSuite 
EventLoggingListenerSuite
    ExecutorAllocationManagerSuite  OutputCommitCoordinatorSuite 
TaskSetBlacklistSuite
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to