Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2650

Cancelled queries json profile shows query end time occurs before fragments end time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 1.2.0
    • Client - HTTP
    • None

    Description

      I have a query that was successfully cancelled. The query start and end time is as follows:
      "type": 1,
      "start": 1427839192049,
      "end": 1427839194966,

      This translates to a query duration of about 3 seconds. However, the duration of the query's fragments are much longer up to more than 6 seconds. Here is an entry for majorFragmentId=0 with a duration of 6.6 seconds:
      "startTime": 1427839192796,
      "endTime": 1427839199408,

      8 out of 11 major fragments have duration greater than the query itself. To an end user, this is confusing and does not make sense. We should wait for all of the major fragments to be completely cancelled before updating the the "end" time of the query.

      Attachments

        1. DRILL-2650.1.patch.txt
          4 kB
          Sudheesh Katkam

        Activity

          People

            sudheeshkatkam Sudheesh Katkam
            knguyen Krystal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: