[
https://issues.apache.org/jira/browse/HBASE-20595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484699#comment-16484699
]
Andrew Purtell commented on HBASE-20595:
----------------------------------------
Test failure looks like the usual issue with running the RSgroup tests in
parallel. Precommit ran 4 of them at once, one of them timed out. I don't think
these should all be run in parallel like that on underpowered test resources.
{noformat}
[INFO] Running org.apache.hadoop.hbase.rsgroup.TestRSGroupsOfflineMode
[INFO] Running org.apache.hadoop.hbase.rsgroup.TestEnableRSGroup
[INFO] Running org.apache.hadoop.hbase.rsgroup.TestRSGroups
[INFO] Running org.apache.hadoop.hbase.rsgroup.TestRSGroupsWithACL
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.056 s
- in org.apache.hadoop.hbase.rsgroup.TestRSGroupsWithACL
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.424 s
- in org.apache.hadoop.hbase.rsgroup.TestEnableRSGroup
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.837 s
- in org.apache.hadoop.hbase.rsgroup.TestRSGroupsOfflineMode
[ERROR] Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 753.348
s <<< FAILURE! - in org.apache.hadoop.hbase.rsgroup.TestRSGroups
[ERROR]
testNamespaceCreateAndAssign(org.apache.hadoop.hbase.rsgroup.TestRSGroups)
Time elapsed: 743.922 s <<< ERROR!
java.io.InterruptedIOException
at
org.apache.hadoop.hbase.rsgroup.TestRSGroups.afterMethod(TestRSGroups.java:129)
Caused by: java.lang.InterruptedException
at
org.apache.hadoop.hbase.rsgroup.TestRSGroups.afterMethod(TestRSGroups.java:129)
{noformat}
> Remove the concept of 'special tables' from rsgroups
> ----------------------------------------------------
>
> Key: HBASE-20595
> URL: https://issues.apache.org/jira/browse/HBASE-20595
> Project: HBase
> Issue Type: Task
> Components: Region Assignment, rsgroup
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Major
> Fix For: 3.0.0, 2.1.0, 1.5.0
>
> Attachments: HBASE-20595-branch-1.patch, HBASE-20595.patch,
> HBASE-20595.patch
>
>
> Regionserver groups needs to specially handle what it calls "special tables",
> tables upon which core or other modular functionality depends. They need to
> be excluded from normal rsgroup processing during bootstrap to avoid circular
> dependencies or errors due to insufficiently initialized state. I think we
> also want to ensure that such tables are always given a rsgroup assignment
> with nonzero servers. (IIRC another issue already raises that point, we can
> link it later.)
> Special tables include:
> * The system tables in the 'hbase:' namespace
> * The ACL table if the AccessController coprocessor is installed
> * The Labels table if the VisibilityController coprocessor is installed
> * The Quotas table if the FS quotas feature is active
> Either we need a facility where "special tables" can be registered, which
> should be in core. Or, we institute a blanket rule that core and all
> extensions that need a "special table" must put them into the 'hbase:'
> namespace, so the TableName#isSystemTable() test will return TRUE for all,
> and then rsgroups simply needs to test for that.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)