Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-25729

ThriftUnionObjectInspector should be notified when fully inited

    XMLWordPrintableJSON

Details

    Description

      For thread safe purpose,  a ReflectionStructObjectInspector instance would wait for 3 seconds to ensure the returning ObjectInspector is fully inited, 

      synchronized (soi) {
        while (!soi.isFullyInited(checkedTypes)) {
          // ....  
          soi.wait(3000);  
        }
      } 

      It seems that we are missing to notify ThriftUnionObjectInspector when it has been inited.

      Attachments

        Issue Links

          Activity

            People

              dengzh Zhihua Deng
              dengzh Zhihua Deng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h