Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18634

Fix client.TestClientClusterStatus

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • test
    • None
    • Reviewed

    Description

      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().

        protected void waitForMasterActive(){
          boolean tablesOnMaster = LoadBalancer.isTablesOnMaster(conf);
          while (!(tablesOnMaster && activeMaster) && !isStopped() && !isAborted()) {
            sleeper.sleep();
          }
        }
      

      In conclusion, the ClusterStatue#getServers won't contain the master name.

      Attachments

        1. HBASE-18634.v0.patch
          1 kB
          Chia-Ping Tsai
        2. HBASE-18634.v0.patch
          1 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: