Skip to content

Commit

Permalink
Added note to explain use of ConcurrentHashMap
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanCutler committed Dec 15, 2015
1 parent 90402d7 commit 04501a0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private[deploy] class Master(
private val addressToApp = new HashMap[RpcAddress, ApplicationInfo]
private val completedApps = new ArrayBuffer[ApplicationInfo]
private var nextAppNumber = 0
// Using ConcurrentHashMap so that master-rebuild-ui-thread can add a UI after asyncRebuildUI
private val appIdToUI = new ConcurrentHashMap[String, SparkUI]

private val drivers = new HashSet[DriverInfo]
Expand Down

0 comments on commit 04501a0

Please sign in to comment.