You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Stephen Yuan Jiang (JIRA)" <ji...@apache.org> on 2016/09/08 20:36:20 UTC

[jira] [Commented] (HBASE-16588) Remove ConnectionFactory#createConnection from backup / restore server code

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

Stephen Yuan Jiang commented on HBASE-16588:
--------------------------------------------

LGTM

> Remove ConnectionFactory#createConnection from backup / restore server code
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-16588
>                 URL: https://issues.apache.org/jira/browse/HBASE-16588
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>              Labels: backup
>         Attachments: 16588.v1.txt
>
>
> Currently there are several places in backup / restore server code where Connection is created:
> {code}
>     try (Connection conn = ConnectionFactory.createConnection(conf);
> {code}
> This should not be necessary - we can retrieve Connection from environment.



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