Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13410

PerfLog metrics scopes not closed if there are exceptions on HS2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: Diagnosability
    • Labels:
      None

      Description

      If there are errors, the HS2 PerfLog api scopes are not closed. Then there are sometimes messages like 'java.io.IOException: Scope named api_parse is not closed, cannot be opened.'

      I had simply forgetting to close the dangling scopes if there is an exception. Doing so now.

        Attachments

        1. HIVE-13410.5.patch
          9 kB
          Szehon Ho
        2. HIVE-13410.4.patch
          10 kB
          Szehon Ho
        3. HIVE-13410.4.patch
          10 kB
          Szehon Ho
        4. HIVE-13410.3.patch
          7 kB
          Szehon Ho
        5. HIVE-13410.2.patch
          5 kB
          Szehon Ho
        6. HIVE-13410.patch
          5 kB
          Szehon Ho

          Issue Links

            Activity

              People

              • Assignee:
                szehon Szehon Ho
                Reporter:
                szehon Szehon Ho
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: