You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2020/07/10 02:05:00 UTC
[jira] [Resolved] (HBASE-24489) Rewrite
TestClusterRestartFailover.test since namespace table is gone on on master
[ https://issues.apache.org/jira/browse/HBASE-24489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang resolved HBASE-24489.
------------------------------------
Fix Version/s: 3.0.0-alpha-1
Resolution: Fixed
Pushed to master. Thanks [~Ddupg] for contributing.
> Rewrite TestClusterRestartFailover.test since namespace table is gone on on master
> ----------------------------------------------------------------------------------
>
> Key: HBASE-24489
> URL: https://issues.apache.org/jira/browse/HBASE-24489
> Project: HBase
> Issue Type: Task
> Components: test
> Reporter: Duo Zhang
> Assignee: Sun Xin
> Priority: Major
> Fix For: 3.0.0-alpha-1
>
>
> We still have this
> {code}
> // Find server that does not have hbase:namespace on it. This tests holds up SCPs. If it
> // holds up the server w/ hbase:namespace, the Master initialization will be held up
> // because this table is not online and test fails.
> for (JVMClusterUtil.RegionServerThread rst:
> UTIL.getHBaseCluster().getLiveRegionServerThreads()) {
> HRegionServer rs = rst.getRegionServer();
> if (rs.getRegions(TableName.NAMESPACE_TABLE_NAME).isEmpty()) {
> SERVER_FOR_TEST = rs.getServerName();
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)