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

[0.94] TestRegionServerCoprocessorExceptionWithAbort is flaky

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.10
    • None
    • None
    • Reviewed

    Description

      TestRegionServerCoprocessorExceptionWithAbort fails sometimes with some cryptic message like:

      java.lang.IllegalArgumentException: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
      

      The root cause is that the test thread checks for region server abort in another thread, and interrupts the client. However, if the client (table.put()) is in some path when it gets the interrupt, it does not throw IOE as expected, but IAE.

      This issue will make the test more robust.

      See:
      https://builds.apache.org/job/HBase-0.94/1027/testReport/junit/org.apache.hadoop.hbase.coprocessor/TestRegionServerCoprocessorExceptionWithAbort/testExceptionFromCoprocessorDuringPut/

      Attachments

        1. hbase-8914_v1.patch
          8 kB
          Enis Soztutar

        Issue Links

          Activity

            People

              enis Enis Soztutar
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: