Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8443

Record time spent in authorization in the runtime profile

    XMLWordPrintableJSON

Details

    Description

      Authorization is done as a part of analysis. It helps to have the time spent in authorization recorded as a part of the query profile timeline. Something like as follows. Helps to debug issues when bottleneck is in authorization.

        Query Compilation
            Metadata load started: 4ms (4559114)
            Metadata load finished. loaded-tables=1/2 load-requests=1 catalog-updates=3: 2.60s (2599515306)
            Authorization finished (Ranger|Sentry): xxxxx   ++++++++++
            Analysis finished: 1.9m (113860685080)
            Value transfer graph computed: 1.9m (113863830763)
            Single node plan created: 1.9m (116880551103)
            Runtime filters computed: 1.9m (116880914428)
            Distributed plan created: 1.9m (116882951541)
            Lineage info computed: 1.9m (116884735701)
            Planning finished: 1.9m (116900204008)
            Planning finished: 1.9m (116900208344)
      

      Attachments

        Issue Links

          Activity

            People

              tmate Tamas Mate
              bharathv Bharath Vissapragada
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: