public class DeserializerLock
extends Object
[SPARK-17398] org.apache.hive.hcatalog.data.JsonSerDe#initialize calls the non-thread-safe HCatRecordObjectInspectorFactory.getHCatRecordObjectInspector, the results of which are returned by JsonSerDe#getObjectInspector. To protect against this bug in Hive (HIVE-15773/HIVE-21752), we synchronize on this object when calling initialize on Deserializer instances that could be JsonSerDe instances.
Constructor and Description |
---|
DeserializerLock() |