You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/22 03:50:00 UTC
[jira] [Updated] (HIVE-25729) ThriftUnionObjectInspector should be notified when fully inited
[ https://issues.apache.org/jira/browse/HIVE-25729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-25729:
----------------------------------
Labels: pull-request-available (was: )
> ThriftUnionObjectInspector should be notified when fully inited
> ---------------------------------------------------------------
>
> Key: HIVE-25729
> URL: https://issues.apache.org/jira/browse/HIVE-25729
> Project: Hive
> Issue Type: Bug
> Components: Serializers/Deserializers
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> For thread safe purpose, a ReflectionStructObjectInspector instance would wait for 3 seconds to ensure the returning ObjectInspector is fully inited,
> {code:java}
> synchronized (soi) {
> while (!soi.isFullyInited(checkedTypes)) {
> // ....
> soi.wait(3000);
> }
> } {code}
> It seems that we are missing to notify ThriftUnionObjectInspector when it has been inited.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)