hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barna Zsombor Klara (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-14775) Investigate IOException usage in Metrics APIs
Date Fri, 16 Sep 2016 14:06:20 GMT
Barna Zsombor Klara created HIVE-14775:
------------------------------------------

             Summary: Investigate IOException usage in Metrics APIs
                 Key: HIVE-14775
                 URL: https://issues.apache.org/jira/browse/HIVE-14775
             Project: Hive
          Issue Type: Sub-task
            Reporter: Barna Zsombor Klara
            Assignee: Barna Zsombor Klara


A large number of metrics APIs seems 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message