Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7195 Improve Metastore performance
  3. HIVE-9906

Add timeout mechanism in RawStoreProxy

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Metastore
    • Labels:
      None

      Description

      In HIVE-9253, we add a timeout mechanism in HMS. We start the timer in RetryingHMSHandler.invoke, and then -> RawStoreProxy.invoke -> ObjectStore.xxxMethod. The timer is stopped after methods complete.

      It was found that, the methods of ObjectStore might be invoked directly in o.a.h.h.ql.txn.compactor.CompactorThread, but not throught HMSHandler. This will cause timeout checking to throw exception. We need fix this bug here.

        Attachments

        1. HIVE-9906.patch
          2 kB
          Dong Chen

          Issue Links

            Activity

              People

              • Assignee:
                dongc Dong Chen
                Reporter:
                dongc Dong Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: