hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang" <jxi...@cloudera.com>
Subject Re: Review Request 37591: HIVE-11586 ObjectInspectorFactory.getReflectionObjectInspector is not thread-safe
Date Tue, 18 Aug 2015 21:51:28 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37591/
-----------------------------------------------------------

(Updated Aug. 18, 2015, 9:51 p.m.)


Review request for hive.


Bugs: HIVE-11586
    https://issues.apache.org/jira/browse/HIVE-11586


Repository: hive-git


Description
-------

Made ObjectInspectorFactory.getReflectionObjectInspector thread-safe. When it returns, the
object inspector is fully initialized.


Diffs (updated)
-----

  serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorFactory.java
97bb715 
  serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ReflectionStructObjectInspector.java
78e6066 
  serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ThriftUnionObjectInspector.java
600abbb 
  serde/src/test/org/apache/hadoop/hive/serde2/objectinspector/TestReflectionObjectInspectors.java
e2408c6 

Diff: https://reviews.apache.org/r/37591/diff/


Testing
-------

Unit test


Thanks,

Jimmy Xiang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message