You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sakthi (JIRA)" <ji...@apache.org> on 2019/08/09 02:13:00 UTC

[jira] [Assigned] (HIVE-21393) Refactor exception handling in HiveAccumuloTableInputFormat

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

Sakthi reassigned HIVE-21393:
-----------------------------

    Assignee: Sakthi

> Refactor exception handling in HiveAccumuloTableInputFormat
> -----------------------------------------------------------
>
>                 Key: HIVE-21393
>                 URL: https://issues.apache.org/jira/browse/HIVE-21393
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Laszlo Bodor
>            Assignee: Sakthi
>            Priority: Major
>              Labels: newbie
>
> https://github.com/apache/hive/blob/173d9816086e4c43677ae6dc3b1bf85203f894a1/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/mr/HiveAccumuloTableInputFormat.java#L178-L186
> From Java7, these catches could be merged.
> {code:java}
>     } catch (AccumuloException e) {
>       log.error("Could not configure AccumuloInputFormat", e);
>       throw new IOException(StringUtils.stringifyException(e));
>     } catch (AccumuloSecurityException e) {
>       log.error("Could not configure AccumuloInputFormat", e);
>       throw new IOException(StringUtils.stringifyException(e));
>     } catch (SerDeException e) {
>       log.error("Could not configure AccumuloInputFormat", e);
>       throw new IOException(StringUtils.stringifyException(e));
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)