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

Work on HIVE-21393 started by 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)

Reply via email to