[ 
https://issues.apache.org/jira/browse/NIFI-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404002#comment-15404002
 ] 

ASF GitHub Bot commented on NIFI-2452:
--------------------------------------

GitHub user markap14 opened a pull request:

    https://github.com/apache/nifi/pull/771

    NIFI-2452

    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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/markap14/nifi NIFI-2452

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/771.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #771
    
----
commit 3595b8bbc590d98ff1ad939ca2bd022b257307b6
Author: Mark Payne <[email protected]>
Date:   2016-08-01T18:51:02Z

    NIFI-2452: Ensure that we do not close Index Readers that are still in use

commit 87100428902db677a014a3936f2dda4aceee5dd9
Author: Mark Payne <[email protected]>
Date:   2016-08-02T13:56:05Z

    NIFI-2452: 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

----


> Provenance Repository's Index Readers can be prematurely closed
> ---------------------------------------------------------------
>
>                 Key: NIFI-2452
>                 URL: https://issues.apache.org/jira/browse/NIFI-2452
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> 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.



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

Reply via email to