You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2017/02/03 18:56:51 UTC

[jira] [Commented] (HBASE-17389) Convert all internal usages from ReplicationAdmin to Admin

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

Enis Soztutar commented on HBASE-17389:
---------------------------------------

You should not create a connection inside the master: 
{code}
-    replicationAdmin = new ReplicationAdmin(master.getConfiguration());
+    admin = ConnectionFactory.createConnection(master.getConfiguration()).getAdmin();
{code}

> Convert all internal usages from ReplicationAdmin to Admin
> ----------------------------------------------------------
>
>                 Key: HBASE-17389
>                 URL: https://issues.apache.org/jira/browse/HBASE-17389
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17389-v1.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)