[
https://issues.apache.org/jira/browse/NIFI-10258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570176#comment-17570176
]
Deepak Reddy Chirthani commented on NIFI-10258:
-----------------------------------------------
We changed the 'nifi.provenance.repository.index.threads' to '1' but the
problem still persists. See the log lines below:
2022-07-21 19:56:40,978 INFO [Index Provenance Events-1]
o.a.n.p.i.lucene.IndexDirectoryManager Size of Provenance Index at
/apps/nifi/repos/provenance_repository/lucene-8-index-1658410549910 is now
524560916. Will close this index and roll over to a new one.
2022-07-21 19:56:40,979 INFO [Index Provenance Events-1]
o.a.n.p.lucene.StandardIndexManager Index Writer for
/apps/nifi/repos/provenance_repository/lucene-8-index-1658410549910 has been
returned to Index Manager and is no longer in use. Closing Index Writer
2022-07-21 19:57:15,247 ERROR [Index Provenance Events-1]
o.a.n.p.index.lucene.EventIndexTask Failed to index Provenance Events
org.apache.lucene.store.AlreadyClosedException: Underlying file changed by an
external force at 2022-07-22T00:56:40.989393Z,
(lock=NativeFSLock(path=/apps/nifi/repos/provenance_repository/lucene-8-index-1658451400892/write.lock,impl=sun.nio.ch.FileLockImpl[0:9223372036854775807
exclusive valid],creationTime=2022-07-22T00:56:40.988393Z))
> 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)