You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2016/06/24 11:45:16 UTC

[jira] [Created] (OOZIE-2585) Disable or remove test case TestPartitionDependencyManagerEhcache.testMemoryUsageAndSpeedOverflowToDisk

Peter Bacsko created OOZIE-2585:
-----------------------------------

             Summary: Disable or remove test case TestPartitionDependencyManagerEhcache.testMemoryUsageAndSpeedOverflowToDisk
                 Key: OOZIE-2585
                 URL: https://issues.apache.org/jira/browse/OOZIE-2585
             Project: Oozie
          Issue Type: Bug
            Reporter: Peter Bacsko
            Assignee: Peter Bacsko
            Priority: Minor


There is a problem with the test case testMemoryUsageAndSpeedOverflowToDisk.

After 20k entries, data is spilled to the disk. However, Ehcache writes on a separate thread asynchronously and all put operations return immediately. The problem is that after storing the 60k entries, we try to read them back instantly, with many of them are still being flushed to the storage. As long as disk write in progress, these entries are unavailable.

I didn't find a reliable way to wait for disk writes. Therefore I suggest disabling this test or eliminate it altogether -- it's a performance test that runs on all kinds of machines during a build, I don't think it makes too much sense to keep it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)