Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A66ED200B82 for ; Fri, 16 Sep 2016 16:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A50C8160AC4; Fri, 16 Sep 2016 14:06:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D8E41160A8C for ; Fri, 16 Sep 2016 16:06:21 +0200 (CEST) Received: (qmail 7975 invoked by uid 500); 16 Sep 2016 14:06:20 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 7958 invoked by uid 99); 16 Sep 2016 14:06:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2016 14:06:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8AF972C0D5B for ; Fri, 16 Sep 2016 14:06:20 +0000 (UTC) Date: Fri, 16 Sep 2016 14:06:20 +0000 (UTC) From: "Barna Zsombor Klara (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-14775) Investigate IOException usage in Metrics APIs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 16 Sep 2016 14:06:22 -0000 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)