Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
I occasionally see when I run Provenance queries against an active provenance repository that the JVM will crash, writing out an hs_err_pid_XXX.log file. This appears to be related to https://issues.apache.org/jira/browse/LUCENE-7183 which indicates that it's caused by using a closed IndexReader.
Adding to description from nice Github comments from mark:
Ensure that we keep track of how many references we have to each lucene searcher and only close the underlying index reader if there are no references to the searcher. Also updated to prefer newer provenance events over older provenance events, and calculate FlowFile lineage based on an event id instead of a FlowFile UUID, as it's much more efficient
In resolving the JIRA also cleaned up logic for handling heartbeat messages where a few states weren't accounted for leading to an incorrect accounting of heartbeats.
Attachments
Issue Links
- links to