hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17389) Convert all internal usages from ReplicationAdmin to Admin
Date Fri, 03 Feb 2017 18:56:51 GMT

    [ 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)

Mime
View raw message