Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • Hive, HiveServer2, Metastore
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: