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

TestMergeTool is too sensitive to hanging HBase cluster from other test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The TestMergeTool.testMergeTool failure in build 2154 was due to the following check:

            HBaseAdmin.checkHBaseAvailable(getConf());
            LOG.fatal("HBase cluster must be off-line.");
      

      HBase cluster from some other test(s) was hanging since "merging regions 0 and 1" is the first merge.
      The test can be made more robust by calling HBaseAdmin.shutdown() before making the first merge.

      In Merge.java, -1 is returned in 5 places. I think we should return different values so that it is more obvious what the cause was.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: