You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Mohit Sabharwal (JIRA)" <ji...@apache.org> on 2016/09/30 19:14:20 UTC

[jira] [Updated] (HIVE-14775) Cleanup IOException usage in Metrics APIs

     [ https://issues.apache.org/jira/browse/HIVE-14775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mohit Sabharwal updated HIVE-14775:
-----------------------------------
    Summary: Cleanup IOException usage in Metrics APIs  (was: Investigate IOException usage in Metrics APIs)

> Cleanup IOException usage in Metrics APIs
> -----------------------------------------
>
>                 Key: HIVE-14775
>                 URL: https://issues.apache.org/jira/browse/HIVE-14775
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive, HiveServer2, Metastore
>            Reporter: Barna Zsombor Klara
>            Assignee: Barna Zsombor Klara
>             Fix For: 2.2.0
>
>         Attachments: HIVE-14775.1.patch, HIVE-14775.patch
>
>
> 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.



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