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

Region could get lost during assignment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.95.2
    • 0.98.0, 0.96.0
    • Region Assignment
    • None
    • Reviewed

    Description

      I observed test timeout running against hadoop 2.1.0 with distributed log replay turned on.
      Looks like region state for 1588230740 became inconsistent between master and the surviving region server:

      2013-08-29 22:15:34,180 INFO  [AM.ZK.Worker-pool2-t4] master.RegionStates(299): Onlined 1588230740 on kiyo.gq1.ygridcore.net,57016,1377814510039
      ...
      2013-08-29 22:15:34,587 DEBUG [Thread-221] client.HConnectionManager$HConnectionImplementation(1269): locateRegionInMeta parentTable=hbase:meta, metaLocation={region=hbase:meta,,1.1588230740, hostname=kiyo.gq1.ygridcore.net,57016,1377814510039, seqNum=0}, attempt=2 of 35 failed; retrying after sleep of 302 because: org.apache.hadoop.hbase.exceptions.RegionOpeningException: Region is being opened: 1588230740
              at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2574)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:3949)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.get(HRegionServer.java:2733)
              at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:26965)
              at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2063)
              at org.apache.hadoop.hbase.ipc.RpcServer$CallRunner.run(RpcServer.java:1800)
              at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:165)
              at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:41)
      

      Attachments

        1. org.apache.hadoop.hbase.TestFullLogReconstruction-output.txt
          592 kB
          Ted Yu
        2. 9387-v1.txt
          2 kB
          Ted Yu
        3. hbase-9387.patch
          3 kB
          Jeffrey Zhong
        4. 9387-v3.txt
          2 kB
          Ted Yu
        5. 9387-v4.txt
          2 kB
          Ted Yu
        6. 9387-v5.txt
          3 kB
          Ted Yu
        7. 9387-v4.2.txt
          2 kB
          Ted Yu
        8. 9387-v4.3.txt
          4 kB
          Ted Yu
        9. 9387-v4.4.txt
          3 kB
          Ted Yu
        10. 9387-v6.txt
          4 kB
          Ted Yu
        11. 9387-v7.txt
          7 kB
          Ted Yu
        12. 9387-v8.txt
          7 kB
          Ted Yu
        13. 9387-v9.txt
          7 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: