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

Add hook to run in metastore's endFunction which can collect more fb303 counters

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None
    • Reviewed

    Description

      Create the potential for hooks to run in the endFunction method of HMSHandler which take the name of a function and whether or not it succeeded. Also, override getCounters from fb303 to allow these hooks to add counters which they collect, should this be desired. These hooks can be similar to EventListeners, but they should be more generic.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--HIVE-2619.D555.1.patch
          33 kB
          Phabricator
        2. ASF.LICENSE.NOT.GRANTED--HIVE-2619.D555.2.patch
          35 kB
          Phabricator
        3. ASF.LICENSE.NOT.GRANTED--HIVE-2619.D561.1.patch
          33 kB
          Phabricator
        4. HIVE-2619.1.patch.txt
          33 kB
          Kevin Wilfong

        Activity

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

          People

            kevinwilfong Kevin Wilfong Assign to me
            kevinwilfong Kevin Wilfong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment