[ 
https://issues.apache.org/jira/browse/HBASE-24925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bo Cui reassigned HBASE-24925:
------------------------------

    Assignee: Bo Cui

> SCP reduce unnecessary get requests
> -----------------------------------
>
>                 Key: HBASE-24925
>                 URL: https://issues.apache.org/jira/browse/HBASE-24925
>             Project: HBase
>          Issue Type: Improvement
>          Components: MTTR
>    Affects Versions: 3.0.0-alpha-1, 2.2.3
>            Reporter: Bo Cui
>            Assignee: Bo Cui
>            Priority: Major
>
> SCP should reduce unnecessary Get request
> [https://github.com/apache/hbase/blob/65d28da7c22382e040363c607840d5ab6e6b45da/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java#L520]
> during startup, the tableNam2State of tableStateManager is not loading 
> tableState data form metaTable yet.  if procThread num is 50 and hbase has 
> 10K tables, in the worst case, the master needs to query meta table 500K 
> times(50*10K. and the regions that all SCPs simultaneously check tableState 
> belong to the same table )
>  
> i think master can reduce Get request, and AM#loadMeta can load regions and 
> all tables through asynchronous threads.
> [https://github.com/apache/hbase/blob/65d28da7c22382e040363c607840d5ab6e6b45da/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java#L1532]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to