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

Set "End Time" earlier rather than on unregistration.

    Details

      Description

      When queries are executed from Hue and hit the idle query timeout then the query duration keeps going up even though the query was cancelled and it is not actually doing any more work. The end time is only set when the query is actually unregistered.

      Queries below finished in 1s640ms while the reported time is much longer.

      User Default Db Statement Query Type Start Time Waiting Time Duration Scan Progress State Last Event
      1. rows fetched
      Resource Pool Details Action
      hue/va1026.halxg.cloudera.com@HALXG.CLOUDERA.COM tpcds_1000_parquet select count from tpcds_1000_parquet.inventory QUERY 2017-05-31 09:38:20.472804000 4m27s 4m32s 261 / 261 ( 100%) FINISHED First row fetched 1 root.default Details Close
      hue/va1026.halxg.cloudera.com@HALXG.CLOUDERA.COM tpcds_1000_parquet select count from tpcds_1000_parquet.inventory QUERY 2017-05-31 08:38:52.780237000 2017-05-31 09:38:20.289582000 59m27s 261 / 261 ( 100%) FINISHED 1 root.default Details

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poojanilangekar Pooja Nilangekar
                Reporter:
                mmokhtar Mostafa Mokhtar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: