Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8598 Impala/Atlas integration
  3. IMPALA-8571

Make query-hook-execution more robust and observable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Frontend
    • None
    • ghx-label-7

    Description

      The execution of {{QueryEventHook}}s currently has some drawbacks in the design:

      • exceptions thrown from hooks are simply logged by the Frontend and ignored
      • hooks that hang will forever block an executor thread (currently fixed-size threadpool)
      • an unbounded queue is used for scheduled hook tasks, which means that slow/hanging hooks may cause the queue to grow and grow until an OutOfMemoryError is thrown
      • metrics around hook execution are not captured (which would really help in debugging/diagnosis)

      These are all points that should be addressed/improved in this ticket

      Code Review: https://gerrit.cloudera.org/c/13748/

      Attachments

        Issue Links

          Activity

            People

              radford-nguyen radford nguyen
              radford-nguyen radford nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: