You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Ted Yu (JIRA)" <ji...@apache.org> on 2012/07/17 18:58:34 UTC

[jira] [Commented] (HBASE-6400) Add getMasterAdmin() and getMasterMonitor() to HConnection

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

Zhihong Ted Yu commented on HBASE-6400:
---------------------------------------

{code}
+    public MasterAdminProtocol getMasterAdmin() throws MasterNotRunningException {
{code}
@Override seems to be missing.
                
> Add getMasterAdmin() and getMasterMonitor() to HConnection
> ----------------------------------------------------------
>
>                 Key: HBASE-6400
>                 URL: https://issues.apache.org/jira/browse/HBASE-6400
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: HBASE-6400_v1.patch
>
>
> HConnection used to have getMasterInterface(), but after HBASE-6039 it has been removed. I think we need to expose HConnection.getMasterAdmin() and getMasterMonitor() a la HConnection.getAdmin(), and getClient(). 
> HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason to leak keep alive classes to upper layers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira