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

Hudson commented on HBASE-19861:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4473 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/4473/])
HBASE-19861 - Avoid using RPCs when querying table infos for master (tedyu: rev 
94a1c051ba64bf490b2cc65e5b813176f1d0bb45)
* (edit) hbase-server/src/main/resources/hbase-webapps/master/tablesDetailed.jsp
* (edit) 
hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon


> 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
>             Fix For: 2.0.0-beta-2
>
>         Attachments: 19861.4.patch, HBASE-19861.v1.patch, 
> HBASE-19861.v3.patch, HBASE-19861.v4.patch, errorMsgExample.png
>
>
> 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)

Reply via email to