Hive
  1. Hive
  2. HIVE-2619

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

        Activity

        Kevin Wilfong created issue -
        Kevin Wilfong made changes -
        Field Original Value New Value
        Attachment HIVE-2619.1.patch.txt [ 12505701 ]
        Phabricator made changes -
        Attachment HIVE-2619.D561.1.patch [ 12505725 ]
        Phabricator made changes -
        Attachment HIVE-2619.D555.1.patch [ 12505790 ]
        Phabricator made changes -
        Attachment HIVE-2619.D555.2.patch [ 12505791 ]
        Namit Jain made changes -
        Summary Add hook to run in meatastore's endFunction which can collect more fb303 counters Add hook to run in metastore's endFunction which can collect more fb303 counters
        Namit Jain made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Carl Steinbach made changes -
        Fix Version/s 0.9.0 [ 12317742 ]
        Carl Steinbach made changes -
        Fix Version/s 0.8.0 [ 12316178 ]
        Carl Steinbach made changes -
        Fix Version/s 0.9.0 [ 12317742 ]
        Carl Steinbach made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Kevin Wilfong
            Reporter:
            Kevin Wilfong
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development