Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22899

Make sure qtests clean up copied files from test directories

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      Several qtest files are copying schema or test files to the test directories (such as ${system:test.tmp.dir} and ${hiveconf:hive.metastore.warehouse.dir}), many times without changing the name of the copied file. When the same files is copied by another qtest to the same directory the copy and hence the test fails. This can lead to flaky tests when any two of these qtests gets scheduled to the same batch.

       

      In order to avoid these failures, we should make sure the files copied to the test dirs have unique names and we should make sure these files are cleaned up by the same qtest files that copies the file.

      Attachments

        1. HIVE-22899.8.patch
          22 kB
          Zoltan Chovan
        2. HIVE-22899.7.patch
          22 kB
          Zoltan Chovan
        3. HIVE-22899.6.patch
          22 kB
          Zoltan Chovan
        4. HIVE-22899.5.patch
          32 kB
          Zoltan Chovan
        5. HIVE-22899.4.patch
          32 kB
          Zoltan Chovan
        6. HIVE-22899.3.patch
          27 kB
          Zoltan Chovan
        7. HIVE-22899.2.patch
          29 kB
          Zoltan Chovan
        8. HIVE-22899.patch
          28 kB
          Zoltan Chovan

        Issue Links

          Activity

            People

              zchovan Zoltan Chovan
              zchovan Zoltan Chovan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: