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/12/02 03:49:00 UTC

[jira] [Work logged] (HIVE-25729) ThriftUnionObjectInspector should be notified when fully inited

     [ https://issues.apache.org/jira/browse/HIVE-25729?focusedWorklogId=689033&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-689033 ]

ASF GitHub Bot logged work on HIVE-25729:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Dec/21 03:48
            Start Date: 02/Dec/21 03:48
    Worklog Time Spent: 10m 
      Work Description: sunchao commented on pull request #2808:
URL: https://github.com/apache/hive/pull/2808#issuecomment-984267079


   Sorry @dengzhhu653 , was on vacation. Can you add some details on why this change is necessary? thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 689033)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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)