hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laszlo Bodor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-21393) Refactor exception handling in HiveAccumuloTableInputFormat
Date Tue, 05 Mar 2019 10:54:00 GMT

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

Laszlo Bodor updated HIVE-21393:
--------------------------------
    Summary: Refactor exception handling in HiveAccumuloTableInputFormat  (was: Refactor exception
catching in HiveAccumuloTableInputFormat)

> 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
>            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.3#76005)

Mime
View raw message