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/19 09:54:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16691487#comment-16691487 ] 

Davide Sessi commented on NIFI-5808:
------------------------------------

Now I'm a bit confused.

Just noticed issue NIFI-5514 (fix version 1.8.0) and read this [explanation about MergeContent and the minimum number of entries|https://community.hortonworks.com/comments/182775/view.html].

Now, should MergeRecord also behave like that?
 Does this mean that v1.8.0 is good and previous versions have incorrect behavior?

Please, let me know :)

> 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)