Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-373

MemoryManager tests are flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0, 1.8.2
    • parquet-mr
    • None

    Description

      The memory manager tests are flaky, depending on the heap allocation for the JVM they run in. This is caused by over-specific tests that assert the memory allocation down to the byte and the fact that some assertions implicitly cast long values to doubles to use the "within" form of assertEquals.

      The tests should not validate a specific allocation strategy, but should instead assert that:
      1. The allocation for a file is the row group size until room runs out
      2. When scaling row groups, the total allocation does not exceed the pool size

      Attachments

        Issue Links

          Activity

            People

              rdblue Ryan Blue
              rdblue Ryan Blue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: