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

AssignmentManager.waitForAssignment is not stable

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      https://builds.apache.org/job/HBase-Flaky-Tests/job/master/366/artifact/hbase-server/target/surefire-reports/org.apache.hadoop.hbase.client.TestMetaWithReplicas-output.txt/*view*/

      All replicas for meta table are on the same machine

      2018-09-02 19:49:05,486 DEBUG [RS_OPEN_META-regionserver/asf904:0-0] handler.OpenRegionHandler(127): Opened hbase:meta,,1.1588230740 on asf904.gq1.ygridcore.net,47561,1535917740998
      2018-09-02 19:49:32,802 DEBUG [RS_OPEN_META-regionserver/asf904:0-0] handler.OpenRegionHandler(127): Opened hbase:meta,,1_0001.534574363 on asf904.gq1.ygridcore.net,55408,1535917768453
      2018-09-02 19:49:33,496 DEBUG [RS_OPEN_META-regionserver/asf904:0-0] handler.OpenRegionHandler(127): Opened hbase:meta,,1_0002.1657623790 on asf904.gq1.ygridcore.net,55408,1535917768453
      

      But after calling am.waitForAssignment, the region location is still null...

      2018-09-02 19:49:32,414 INFO  [Time-limited test] client.TestMetaWithReplicas(113): HBASE:META DEPLOY: hbase:meta,,1_0001.534574363 on null
      2018-09-02 19:49:32,844 INFO  [Time-limited test] client.TestMetaWithReplicas(113): HBASE:META DEPLOY: hbase:meta,,1_0002.1657623790 on null
      

      So we will not balance the replicas and cause TestMetaWithReplicas to hang forever...

      Attachments

        1. HBASE-21144.patch
          17 kB
          Duo Zhang
        2. HBASE-21144-addendum.patch
          2 kB
          Duo Zhang
        3. HBASE-21144-branch-2.1.patch
          24 kB
          Duo Zhang
        4. HBASE-21144-v1.patch
          18 kB
          Duo Zhang

        Activity

          People

            zhangduo Duo Zhang
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: