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

Add timeout mechanism in RawStoreProxy

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment