Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: Hive, HiveServer2, Metastore
    • Labels:
      None
    • Release Note:
      Refactored the public metrics API. Calls capturing metrics should log warnings instead of throwing IOExceptions.

      Description

      A large number of metrics APIs seem to declare to throw IOExceptions needlessly. (incrementCounter, decrementCounter etc.)
      This is not only misleading but it fills up the code with unnecessary catch blocks never to be reached.

      We should investigate if these exceptions are thrown at all, and remove them if it is truly unused.

        Attachments

        1. HIVE-14775.1.patch
          39 kB
          Barna Zsombor Klara
        2. HIVE-14775.patch
          39 kB
          Barna Zsombor Klara

          Activity

            People

            • Assignee:
              zsombor.klara Barna Zsombor Klara
              Reporter:
              zsombor.klara Barna Zsombor Klara
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: