HADOOP-10456. Bug in Configuration.java exposed by Spark (ConcurrentModificationException). Contributed by Nishkam Ravi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1584575 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
362d284e17
commit
0941b99c86
|
@ -362,6 +362,9 @@ Release 2.4.1 - UNRELEASED
|
||||||
HADOOP-10455. When there is an exception, ipc.Server should first check
|
HADOOP-10455. When there is an exception, ipc.Server should first check
|
||||||
whether it is an terse exception. (szetszwo)
|
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
|
Release 2.4.0 - 2014-04-07
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -666,9 +666,9 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updatingResource = new HashMap<String, String[]>(other.updatingResource);
|
this.updatingResource = new HashMap<String, String[]>(other.updatingResource);
|
||||||
|
this.finalParameters = new HashSet<String>(other.finalParameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.finalParameters = new HashSet<String>(other.finalParameters);
|
|
||||||
synchronized(Configuration.class) {
|
synchronized(Configuration.class) {
|
||||||
REGISTRY.put(this, null);
|
REGISTRY.put(this, null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue