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

Joe Witt commented on NIFI-10258:
---------------------------------

[~cdeepakreddy20] The logs suggest some external process is interacting with 
the provenance indexes/files.  Is there some sort of anti virus tool messing 
with them or some other process potentially?

Caused by: org.apache.lucene.store.AlreadyClosedException: Underlying file 
changed by an external force at 2022-07-15T07:17:47.202562Z, 
(lock=NativeFSLock(path=/apps/nifi/repos/provenance_repository/lucene-8-index-1657869467201/write.lock,impl=sun.nio.ch.FileLockImpl[0:9223372036854775807
 exclusive valid],creationTime=2022-07-15T07:17:47.201562Z))


We can be more resilient in terms of handling the error so it doesn't print 
endlessly but whatever is manipulating those files needs to be disabled.

> Continuously getting the error "ERROR: Failed to index Provenance Events. See 
> logs for more information. " in the Bulletin Board
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-10258
>                 URL: https://issues.apache.org/jira/browse/NIFI-10258
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.15.3
>         Environment: Operating System: Red Hat Enterprise Linux Server 7.9 
> (Maipo)
> Architecture: amd 64
> Kernel: Linux 3.10.0-1160.53.1.el7.x86_64
> Java Version:1.8.0_322
>            Reporter: Deepak Reddy Chirthani
>            Priority: Critical
>         Attachments: Nifi_logs_deepak.txt, Provenance_properties.PNG
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> we have started to use the reporting task *SiteToSiteProvenanceReportingTask 
> 1.15.3* for auditing purposes on provenance events for a few of our 
> dataflows. We started to see error quite frequently now in the Bulletin Board.
> *ERROR: Failed to index Provenance Events. See logs for more information.*
> Also, below are attached snaps of nifi.provenance.properties file and from 
> logs regarding this error. 
> Please let me know if you need anything more.
> Update: Even though S2SProvenanceReportingTask is stopped, the error still 
> exisits.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to