You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Koji Kawamura (JIRA)" <ji...@apache.org> on 2018/11/20 01:48:00 UTC

[jira] [Resolved] (NIFI-5808) MergeRecord doesn't honor "Max Bin Age" property

     [ https://issues.apache.org/jira/browse/NIFI-5808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Kawamura resolved NIFI-5808.
---------------------------------
    Resolution: Not A Problem

[~d.sessi@almaviva.it] As you noticed, NIFI-5514 changed how MergeRecord processor honors Minimum Number of Records. Please increase the minimum number of records (up to the value of Maximum Number of Records) to make it work as it did before 1.8.0.

I will update the Migration Guidance wiki page to note this behavior change.
https://cwiki.apache.org/confluence/display/NIFI/Migration+Guidance

Thanks for reporting! I am closing this JIRA but please feel free to reopen it if we need more discussion.

> MergeRecord doesn't honor "Max Bin Age" property
> ------------------------------------------------
>
>                 Key: NIFI-5808
>                 URL: https://issues.apache.org/jira/browse/NIFI-5808
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.8.0
>         Environment: Both Ubuntu and Windows 10
>            Reporter: Davide Sessi
>            Priority: Major
>         Attachments: Test_MergeRecord_max-bin-age.xml
>
>
> MergeRecord ignores "Max Bin Age" property and does not merge records at all.
> Only NiFi 1.8.0 is affected.  
> The attached test case should generate 2 types of CSV files:
> {code:java}
> column1;column2
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> A1;B1
> ...and so on for many rows...{code}
>  and
> {code:java}
> column1;column2
> A2;B2
> A2;B2
> A2;B2
> A2;B2
> A2;B2
> A2;B2
> A2;B2
> A2;B2
> A2;B2
> ...and so on for many rows...{code}
> It works as expected for NiFi 1.6.0 and 1.7.1.
> But using NiFi 1.8.0 I only get hundreds of files with just 1 record like the following:
> {code:java}
> column1;column2
> A1;B1
> {code}
>  and
> {code:java}
> column1;column2
> A2;B2
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)