hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19010) Reimplement getMasterInfoPort for Admin
Date Sat, 21 Oct 2017 02:15:00 GMT

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

Guanghao Zhang commented on HBASE-19010:
----------------------------------------

Failed ut TestReplicationKillMasterRSCompressed is not related. Will commit it later if no
objection.

> Reimplement getMasterInfoPort for Admin
> ---------------------------------------
>
>                 Key: HBASE-19010
>                 URL: https://issues.apache.org/jira/browse/HBASE-19010
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19010.master.001.patch, HBASE-19010.master.002.patch, HBASE-19010.master.002.patch,
HBASE-19010.master.002.patch, HBASE-19010.master.002.patch, HBASE-19010.master.003.patch,
HBASE-19010.master.003.patch, HBASE-19010.master.004.patch, HBASE-19010.master.004.patch
>
>
> Current implementation.
> {code}
>   public int getMasterInfoPort() throws IOException {
>     // TODO: Fix!  Reaching into internal implementation!!!!
>     ConnectionImplementation connection = (ConnectionImplementation)this.connection;
>     ZooKeeperKeepAliveConnection zkw = connection.getKeepAliveZooKeeperWatcher();
>     try {
>       return MasterAddressTracker.getMasterInfoPort(zkw);
>     } catch (KeeperException e) {
>       throw new IOException("Failed to get master info port from MasterAddressTracker",
e);
>     }
>   }
> {code}
> Open this issue to fix TODO.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message