Re: Regarding jira issue: NIFI-7856

2021-06-18 Thread Joe Witt
Sanjeet

If I understand correctly you are trying to backport a fix we have
completed in the 1.13.x line to your 1.12.x line and asking for assistance
with that.

I recommend you upgrade to 1.13.x instead of trying to backport.  However,
yes on quick read your stated approach does seem fine.

Thanks

On Fri, Jun 18, 2021 at 5:32 AM sanjeet rath  wrote:

> Hi,
>
> Any help input on my trailed mail is really appriciated .
> I am almost stuck here from past 2 weeks.
> Tried almost all the option i have.
>
> Thank u everyone in advance.
> Regards,
> Sanjeet
>
> On Tue, 15 Jun 2021, 7:56 pm sanjeet rath,  wrote:
>
>> Hi,
>>
>> The symptoms mentioned in the jira issue( 
>> *https://issues.apache.org/jira/browse/NIFI-7856
>>  *), i am
>> observing this in one of our PROD clusters.
>>
>> ERROR [Compress Provenance Logs-1-thread-2] o.a.n.p.s.EventFileCompressor 
>> Failed to compress ./provenance_repository/1693519.prov on rollover
>> java.io.FileNotFoundException: ./provenance_repository/1693519.prov (No such 
>> file or directory)
>>
>>
>> i saw the code is fixed in 1.13 version with bellow file changes in
>> nifi-provenance-repository-bundle .
>>
>>
>> nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/main/java/org/apache/nifi/provenance/store/RecordWriterLease.java
>> 
>> diff
>> 
>>  | blob
>> 
>>  | history
>> 
>>
>> nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/main/java/org/apache/nifi/provenance/store/WriteAheadStorePartition.java
>> 
>> So i have modified above 2 file changes on top of my 1.12.1 version of my
>> nifi-provenance-repository-bundle and build the nifi-provenance-repository.
>> nar file. then i will deploy this new Nar file to to /Lib folder of 1.12.1
>> version of niif
>>
>> Is my above approach is correct ?
>>
>> Second thing is, I am facing one issue in 1.12 version, unable to
>> replicate the provenance error in the lower environment (Tried with the
>> 7856.xml template attached in the jira by Mark)
>> So not able to understand whether the above change i made is worked or
>> not.
>> As i can not directly deploy the Nar to prod env where the error is
>> constantly coming in every hour.
>>
>> Could you please help me to replicate this issue in 1.12.1 version
>> Along with the template any other config changes i need to do replicate
>> the issue.
>>
>>
>> Regards,
>> --
>> Sanjeet Kumar Rath,
>>
>>
>>


Re: Regarding jira issue: NIFI-7856

2021-06-18 Thread sanjeet rath
Hi,

Any help input on my trailed mail is really appriciated .
I am almost stuck here from past 2 weeks.
Tried almost all the option i have.

Thank u everyone in advance.
Regards,
Sanjeet

On Tue, 15 Jun 2021, 7:56 pm sanjeet rath,  wrote:

> Hi,
>
> The symptoms mentioned in the jira issue( 
> *https://issues.apache.org/jira/browse/NIFI-7856
>  *), i am
> observing this in one of our PROD clusters.
>
> ERROR [Compress Provenance Logs-1-thread-2] o.a.n.p.s.EventFileCompressor 
> Failed to compress ./provenance_repository/1693519.prov on rollover
> java.io.FileNotFoundException: ./provenance_repository/1693519.prov (No such 
> file or directory)
>
>
> i saw the code is fixed in 1.13 version with bellow file changes in
> nifi-provenance-repository-bundle .
>
>
> nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/main/java/org/apache/nifi/provenance/store/RecordWriterLease.java
> 
> diff
> 
>  | blob
> 
>  | history
> 
>
> nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/main/java/org/apache/nifi/provenance/store/WriteAheadStorePartition.java
> 
> So i have modified above 2 file changes on top of my 1.12.1 version of my
> nifi-provenance-repository-bundle and build the nifi-provenance-repository.
> nar file. then i will deploy this new Nar file to to /Lib folder of 1.12.1
> version of niif
>
> Is my above approach is correct ?
>
> Second thing is, I am facing one issue in 1.12 version, unable to
> replicate the provenance error in the lower environment (Tried with the
> 7856.xml template attached in the jira by Mark)
> So not able to understand whether the above change i made is worked or
> not.
> As i can not directly deploy the Nar to prod env where the error is
> constantly coming in every hour.
>
> Could you please help me to replicate this issue in 1.12.1 version
> Along with the template any other config changes i need to do replicate
> the issue.
>
>
> Regards,
> --
> Sanjeet Kumar Rath,
>
>
>