hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10608) Fix useless 'if' stamement in RetryingMetaStoreClient (135)
Date Tue, 05 May 2015 19:04:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-10608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529068#comment-14529068
] 

Chaoyu Tang commented on HIVE-10608:
------------------------------------

[~apivovarov] Yeah, error out immediately for this local HMS mode will be more efficient.
 +1 (non-binding)

> Fix useless 'if' stamement in RetryingMetaStoreClient (135)
> -----------------------------------------------------------
>
>                 Key: HIVE-10608
>                 URL: https://issues.apache.org/jira/browse/HIVE-10608
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>            Priority: Minor
>
> "if" statement below is useless because it ends with ;
> {code}
>       } catch (MetaException e) {
>         if (e.getMessage().matches("(?s).*(IO|TTransport)Exception.*"));
>         caughtException = e;
>       }
> {code}



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

Mime
View raw message