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

    • Type: Sub-task
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:
      None
    • Epic Color:
      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

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

                Dates

                • Created:
                  Updated: