Github user tgravescs commented on a diff in the pull request: https://github.com/apache/spark/pull/7943#discussion_r37075795 --- Diff: network/shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleBlockResolver.java --- @@ -81,7 +142,18 @@ public void registerExecutor( ExecutorShuffleInfo executorInfo) { AppExecId fullId = new AppExecId(appId, execId); logger.info("Registered executor {} with {}", fullId, executorInfo); - executors.put(fullId, executorInfo); + synchronized (executors) { + executors.put(fullId, executorInfo); + try { + if (db != null) { + byte[] key = dbAppExecKey(new AppExecId(appId, execId)); --- End diff -- We already have an AppExecId above on line 143 (fullIId) we should be able to use that here
--- 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