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

[jira] [Updated] (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 ]

Davide Sessi updated NIFI-5808:
-------------------------------
    Description: 
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}

  was:
MergeRecord ignores "Max Bin Age" property and does not merge records at all.

Only NiFi 1.8.0 is affetcted.  

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}


> 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: Core Framework, Core UI
>    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)