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

Add timeout mechanism in RawStoreProxy

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Metastore
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: