[
https://issues.apache.org/jira/browse/HBASE-18634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136314#comment-16136314
]
Hudson commented on HBASE-18634:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-2.0 #373 (See
[https://builds.apache.org/job/HBase-2.0/373/])
HBASE-18634 HBASE-Fix client.TestClientClusterStatus (Chia-Ping Tsai) (stack:
rev 61b2508f29c051ca4ca33bd180190b1d5af2087a)
* (edit)
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestClientClusterStatus.java
> Fix client.TestClientClusterStatus
> ----------------------------------
>
> Key: HBASE-18634
> URL: https://issues.apache.org/jira/browse/HBASE-18634
> Project: HBase
> Issue Type: Bug
> Components: test
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Fix For: 2.0.0
>
> Attachments: HBASE-18634.v0.patch, HBASE-18634.v0.patch
>
>
> After HBASE-18511, the master doesn't carry any regions by default. Hence,
> The active master doesn't report its load because the report thread is
> sleeping in waitForMasterActive().
> {code}
> protected void waitForMasterActive(){
> boolean tablesOnMaster = LoadBalancer.isTablesOnMaster(conf);
> while (!(tablesOnMaster && activeMaster) && !isStopped() && !isAborted())
> {
> sleeper.sleep();
> }
> }
> {code}
> In conclusion, the ClusterStatue#getServers won't contain the master name.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)