hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18109) Assign system tables first (priority)
Date Mon, 05 Jun 2017 19:42:04 GMT

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

stack commented on HBASE-18109:
-------------------------------

Excellent.

bq.  For ProcedureExecutor, ServerProcedure will always be executed before TableProcedure.

Yes. After reading your note, priority on Table would be the way to go at least at first till
we have more need of priority on Procedure.  Your comments sent me back to the MasterProcedureScheduler.
It already has notion of table priority and will schedule meta and system tables Procedures
more frequently than it does user-space tables. There is config which allows you play w/ the
scheduling so you can do hbase:meta runs more frequently. Then there are system tables and
then user tables. Would need to make it so can stamp region server group tables as system
table and then perhaps another tier for the [~yangzhe1991] table-type.

So, on your list, I'd say lets not bother with item #1 (priority on procedure) until we have
an explicit need.
On #2, sorting before submit, we should spend some time and figure what is wrong w/ current
scheduler... is it not favoring system tables?
On #3, yeah, need to expose means of setting priority and probably introduce a new tier, the
"[~yangzhe1991]  Tier" where it is neither system nor user-space table (ACL perhaps and RSGroups
and backup/restore support tables could go into this category....)



> Assign system tables first (priority)
> -------------------------------------
>
>                 Key: HBASE-18109
>                 URL: https://issues.apache.org/jira/browse/HBASE-18109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Region Assignment
>    Affects Versions: 2.0.0
>            Reporter: stack
>            Assignee: Yi Liang
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18109-V1.patch
>
>
> Need this for stuff like the RSGroup table, etc. Assign these ahead of user-space regions.
> From 'Handle sys table assignment first (e.g. acl, namespace, rsgroup); currently only
hbase:meta is first.' of https://docs.google.com/document/d/1eVKa7FHdeoJ1-9o8yZcOTAQbv0u0bblBlCCzVSIn69g/edit#heading=h.oefcyphs0v0x



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message