Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4430

FastBulkImportIT does not always pass

VotersWatch issueWatchers
    XMLWordPrintableJSON

    Details

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

      Description

      I occasionally get the following failure:

      -------------------------------------------------------------------------------
      Test set: org.apache.accumulo.test.performance.metadata.FastBulkImportIT
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.649 sec <<< FAILURE! - in org.apache.accumulo.test.performance.metadata.FastBulkImportIT
      test(org.apache.accumulo.test.performance.metadata.FastBulkImportIT)  Time elapsed: 64.648 sec  <<< FAILURE!
      java.lang.AssertionError
              at org.apache.accumulo.test.performance.metadata.FastBulkImportIT.test(FastBulkImportIT.java:109)
      

      The test is checking that the bulk import completes in less than 30 seconds with 5 assignment/process threads, no compactions, and no WAL. That number seems arbitrary, and dependent on many conditions which the test cannot control for. A hard-coded expectation of less than 30 seconds seems unreasonable to me.

      Is there a better way we can test that the TServer doesn't re-read bulk-loaded flags, perhaps with a mocked unit test?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ctubbsii Christopher Tubbs

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Issue deployment