HBase
  1. HBase
  2. HBASE-4842

[hbck] Fix intermittent failures on TestHBaseFsck.testHBaseFsck

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.4, 0.92.0, 0.94.0
    • Fix Version/s: 0.92.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      hbck

      Description

      Its seems that on the 0.92 branch in particular, TestHBaseFsck.testHBaseFsck is intermittently failing.

      In the test, a region's assignment is purposely changed in META but not in ZK. After the equivalent of 'hbck -fix', a subsequent check that should be clean comes up with a new ZK assignment but with META still being inconsistent with ZK. The RS in ZK sometimes this points to the same RS, but sometimes it "moves" to another ZK.

      1. 4842-v3.txt
        1 kB
        stack
      2. hbase-4842.patch
        0.7 kB
        Jonathan Hsieh
      3. hbase-4842-breaker.patch
        1 kB
        Jonathan Hsieh

        Issue Links

          Activity

          Jonathan Hsieh created issue -
          Jonathan Hsieh made changes -
          Field Original Value New Value
          Description Its seems that on the 0.92 branch in particular, TestHBaseFsck.testHBaseFsck is intermittently failing.

          In the test, a region's assignment is changed in META but not in ZK. After the equivalent of
          'hbck -fix', a subsequent check that should be clean comes up with a new ZK assignment but with META still being inconsistent with ZK. The RS in ZK sometimes this points to the same RS, but sometimes it "moves" to another ZK.
          Its seems that on the 0.92 branch in particular, TestHBaseFsck.testHBaseFsck is intermittently failing.

          In the test, a region's assignment is purposely changed in META but not in ZK. After the equivalent of 'hbck -fix', a subsequent check that should be clean comes up with a new ZK assignment but with META still being inconsistent with ZK. The RS in ZK sometimes this points to the same RS, but sometimes it "moves" to another ZK.
          Jonathan Hsieh made changes -
          Attachment hbase-4842-breaker.patch [ 12504688 ]
          Jonathan Hsieh made changes -
          Attachment hbase-4842.patch [ 12504690 ]
          Jonathan Hsieh made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.90.4 [ 12316406 ]
          Affects Version/s 0.92.0 [ 12314223 ]
          Affects Version/s 0.94.0 [ 12316419 ]
          Assignee Jonathan Hsieh [ jmhsieh ]
          stack made changes -
          Attachment 4842-v3.txt [ 12504704 ]
          Jonathan Hsieh made changes -
          Link This issue relates to HBASE-4852 [ HBASE-4852 ]
          Jonathan Hsieh made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 0.92.0 [ 12314223 ]
          Resolution Fixed [ 1 ]
          Tags hbck

            People

            • Assignee:
              Jonathan Hsieh
              Reporter:
              Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development