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

Fix TestFastFailWithoutTestUtil

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • test

    Description

      TestFastFailWithoutTestUtil has a unit test that does testInterceptorIntercept50Times Usually it passes but on occasion, the latching between thread 1 and thread 2 goes awry and the test hangs and the test hangs out. Depends on the hardware but it seems to happen about one in four runs here on an internal rig.

      HBASE-14421 changed the wait-on-latch to timeout and do a thread dump and just let the test keep going.

      This issue is about digging in on figuring why the hang up on latches and then fixing it so the test doesn't have to have the latch timeout. Hopefully the threaddump helps.

      This one could be hard to fix since it not easy to reproduce. Marking it beginner anyways.

      Attachments

        1. HBASE-14422.master.001.patch
          31 kB
          Konstantin Ryakhovskiy
        2. log.txt
          47 kB
          Konstantin Ryakhovskiy
        3. HBASE-14422.master.002.patch
          31 kB
          Konstantin Ryakhovskiy
        4. trace.log
          16 kB
          Konstantin Ryakhovskiy
        5. HBASE-14422.master.003.patch
          31 kB
          Konstantin Ryakhovskiy
        6. HBASE-14422.master.004.patch
          30 kB
          Konstantin Ryakhovskiy
        7. HBASE-14422.master.005.patch
          30 kB
          Konstantin Ryakhovskiy
        8. HBASE-14422.master.006.patch
          30 kB
          Konstantin Ryakhovskiy
        9. HBASE-14422.master.007.patch
          30 kB
          Konstantin Ryakhovskiy
        10. HBASE-14422.master.008.patch
          30 kB
          Konstantin Ryakhovskiy
        11. HBASE-14422.master.009.patch
          30 kB
          Konstantin Ryakhovskiy
        12. HBASE-14422.master.010.patch
          30 kB
          Konstantin Ryakhovskiy
        13. HBASE-14422.master.011.patch
          30 kB
          Konstantin Ryakhovskiy
        14. HBASE-14422.master.012.patch
          30 kB
          Konstantin Ryakhovskiy
        15. HBASE-14422.master.013.patch
          30 kB
          Konstantin Ryakhovskiy
        16. HBASE-14422.master.014.patch
          30 kB
          Konstantin Ryakhovskiy
        17. HBASE-14422.master.015.patch
          30 kB
          Konstantin Ryakhovskiy
        18. HBASE-14422.master.016.patch
          30 kB
          Konstantin Ryakhovskiy
        19. HBASE-14422.master.017.patch
          30 kB
          Konstantin Ryakhovskiy
        20. HBASE-14422.master.018.patch
          26 kB
          Konstantin Ryakhovskiy
        21. HBASE-14422.master.019.patch
          26 kB
          Konstantin Ryakhovskiy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: