hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18109) Assign system tables first (priority)
Date Tue, 06 Jun 2017 18:01:18 GMT

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

Yi Liang commented on HBASE-18109:

hi [~stack],
  For adding priority into table, I wana get some advice before implementing. I think there
are two way to do it. 

(1) add {code}int priority{code} into table, so for all table, it has this property; and we
need to have another createTable method which has priority as parameter, and we also need
to change the code where use createTable, and need to pre-define some default priority for
meta-table, sys-table, user-table.
(2) another one is simple, maybe we can define one namespace for high priority user table,
and use need to add 'Phil Yang tier' table into this namespace. and user can still define
their priority using settings below.
      metaTablePriority = conf.getInt("hbase.master.procedure.queue.meta.table.priority",
      sysTablePriority = conf.getInt("hbase.master.procedure.queue.system.table.priority",
      userTablePriority = conf.getInt("hbase.master.procedure.queue.user.table.priority",
   I prefer second one :)


> 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

View raw message