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

TestMasterFailover under tests some cases and over tests some others

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.95.2
    • 0.95.0
    • master, Region Assignment, test
    • None
    • Reviewed

    Description

      The tests are done with this settings:
      conf.setInt("hbase.master.assignment.timeoutmonitor.period", 2000);
      conf.setInt("hbase.master.assignment.timeoutmonitor.timeout", 4000);

      As a results:
      1) some tests seems to work, but in real life, the recovery would take 5 minutes or more, as in production there always higher. So we don't see the real issues.
      2) The tests include specific cases that should not happen in production. It works because the timeout catches everything, but these scenarios do not need to be optimized, as they cannot happen.

      Attachments

        1. 7407_v7.patch
          45 kB
          Nicolas Liochon
        2. 7407.v6.patch
          50 kB
          Nicolas Liochon
        3. 7407.v5.patch
          50 kB
          Nicolas Liochon
        4. 7407.v3.patch
          48 kB
          Nicolas Liochon
        5. 7407.v2.patch
          27 kB
          Nicolas Liochon
        6. 7407.v1.patch
          14 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: