Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.11.0, 0.12.0
-
None
-
None
Description
In open jdk7, XMLEncoder.writeObject call leads to calls to java.beans.MethodFinder.findMethod(). MethodFinder class not thread safe because it uses a static WeakHashMap that would get used from multiple threads. See -
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7-b147/com/sun/beans/finder/MethodFinder.java#46
Concurrent access to HashMap implementation that are not thread safe can sometimes result in infinite-loops and other problems. If jdk7 is in use, it makes sense to synchronize calls to XMLEncoder.writeObject .
Attachments
Attachments
Issue Links
- relates to
-
HIVE-5411 Migrate expression serialization to Kryo
- Resolved