You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2018/01/25 10:20:00 UTC
[jira] [Updated] (HBASE-19861) Avoid using RPCs when querying table
infos for master status pages
[ https://issues.apache.org/jira/browse/HBASE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang updated HBASE-19861:
-----------------------------------
Component/s: (was: monitoring)
UI
> Avoid using RPCs when querying table infos for master status pages
> ------------------------------------------------------------------
>
> Key: HBASE-19861
> URL: https://issues.apache.org/jira/browse/HBASE-19861
> Project: HBase
> Issue Type: Improvement
> Components: UI
> Reporter: Xiaolin Ha
> Assignee: Xiaolin Ha
> Priority: Major
>
> When querying table information for master status pages, currently method is using admin interfaces. For example, when list user tables, codes are as follows.
> Connection connection = master.getConnection();
> Admin admin = connection.getAdmin();
> try {
> tables = admin.listTables();
> } finally {
> admin.close();
> }
> But actually, we can get all user tables from master's memory.
> Using admin interfaces means using RPCs, which has a low efficiency.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)