From e97d46029b7843395118392f15965b4fbd78cc7b Mon Sep 17 00:00:00 2001 From: Chris Nauroth Date: Fri, 4 Apr 2014 09:31:51 +0000 Subject: [PATCH] HADOOP-10456. Merging change r1584575 from trunk to branch-2. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1584579 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/conf/Configuration.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index b9aed27b852..1d4bddb4499 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -57,6 +57,9 @@ Release 2.4.1 - UNRELEASED HADOOP-10455. When there is an exception, ipc.Server should first check whether it is an terse exception. (szetszwo) + HADOOP-10456. Bug in Configuration.java exposed by Spark + (ConcurrentModificationException). (Nishkam Ravi via cnauroth) + Release 2.4.0 - 2014-04-07 INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java index 290c236aa25..18d4666ce06 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java @@ -666,9 +666,9 @@ public class Configuration implements Iterable>, } this.updatingResource = new HashMap(other.updatingResource); + this.finalParameters = new HashSet(other.finalParameters); } - this.finalParameters = new HashSet(other.finalParameters); synchronized(Configuration.class) { REGISTRY.put(this, null); }