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

PerfLog metrics scopes not closed if there are exceptions on HS2

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • Diagnosability
    • 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.2.patch
          5 kB
          Szehon Ho
        2. HIVE-13410.3.patch
          7 kB
          Szehon Ho
        3. HIVE-13410.4.patch
          10 kB
          Szehon Ho
        4. HIVE-13410.4.patch
          10 kB
          Szehon Ho
        5. HIVE-13410.5.patch
          9 kB
          Szehon Ho
        6. HIVE-13410.patch
          5 kB
          Szehon Ho

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            szehon Szehon Ho Assign to me
            szehon Szehon Ho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment