Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 253F1200CED for ; Fri, 4 Aug 2017 00:54:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23A5916B0E3; Thu, 3 Aug 2017 22:54:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 40CC416AF71 for ; Fri, 4 Aug 2017 00:54:04 +0200 (CEST) Received: (qmail 33806 invoked by uid 500); 3 Aug 2017 22:54:03 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 33796 invoked by uid 99); 3 Aug 2017 22:54:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 22:54:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EBEB51805BF for ; Thu, 3 Aug 2017 22:54:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GN2Hkefc_45R for ; Thu, 3 Aug 2017 22:54:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 3D4B75F5B5 for ; Thu, 3 Aug 2017 22:54:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A5C81E01E5 for ; Thu, 3 Aug 2017 22:54:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3E03221ED9 for ; Thu, 3 Aug 2017 22:54:00 +0000 (UTC) Date: Thu, 3 Aug 2017 22:54:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-3329) MergeContent throws FlowFileHandlingException: not the most recent version of this FlowFile within this session MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Aug 2017 22:54:05 -0000 [ https://issues.apache.org/jira/browse/NIFI-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113640#comment-16113640 ] ASF GitHub Bot commented on NIFI-3329: -------------------------------------- Github user joewitt commented on the issue: https://github.com/apache/nifi/pull/2053 good catch. all the automated builds seem to have tanked but doing one last local confirmation. > MergeContent throws FlowFileHandlingException: not the most recent version of this FlowFile within this session > --------------------------------------------------------------------------------------------------------------- > > Key: NIFI-3329 > URL: https://issues.apache.org/jira/browse/NIFI-3329 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 1.1.1 > Reporter: Mark Payne > Assignee: Mark Payne > Fix For: 1.4.0 > > > The following error was reported on the dev mailing list: > {code} > This error occurred in NiFi 1.1.1 (single node) right after an upgrade from > 1.1.0, so I thought it was due to the upgrade, but now I see that it happens > if I restart as well and there is data in the flow. > This MergeContent processor is sorting incoming FlowFiles into bins based on > a correlation attribute and dumping out the accumulated uber-FlowFile after > one hour or 500K messages are accumulated. > ... > 2017-01-11 10:53:39,561 WARN [Timer-Driven Process Thread-9] > o.a.n.processors.standard.MergeContent > MergeContent[id=b9898788-1c11-45d9-8646-44b1dceb92d5] Processor > Administratively Yielded for 1 sec due to processing failure > 2017-01-11 10:53:39,561 WARN [Timer-Driven Process Thread-9] > o.a.n.c.t.ContinuallyRunProcessorTask Administratively Yielding > MergeContent[id=b9898788-1c11-45d9-8646-44b1dceb92d5] due to uncaught > Exception: org.apache.nifi.processor.exception.FlowFileHandlingException: > StandardFlowFileRecord[uuid=07f3d75a-3347-45da-8dd4-fecf775d1dcf,claim=StandardContentClaim > [resourceClaim=StandardResourceClaim[id=1484151577298-1971, > container=default, section=947], offset=566526, > length=64],offset=0,name=8551433629757608.tsv,size=64] is not the most > recent version of this FlowFile within this session > (StandardProcessSession[id=133767]) > 2017-01-11 10:53:39,563 WARN [Timer-Driven Process Thread-9] > o.a.n.c.t.ContinuallyRunProcessorTask > org.apache.nifi.processor.exception.FlowFileHandlingException: > StandardFlowFileRecord[uuid=07f3d75a-3347-45da-8dd4-fecf775d1dcf,claim=StandardContentClaim > [resourceClaim=StandardResourceClaim[id=1484151577298-1971, > container=default, section=947], offset=566526, > length=64],offset=0,name=8551433629757608.tsv,size=64] is not the most > recent version of this FlowFile within this session > (StandardProcessSession[id=133767]) > at > org.apache.nifi.controller.repository.StandardProcessSession.migrate(StandardProcessSession.java:1121) > ~[nifi-framework-core-1.1.0.jar:1.1.0] > at > org.apache.nifi.controller.repository.StandardProcessSession.migrate(StandardProcessSession.java:1102) > ~[nifi-framework-core-1.1.0.jar:1.1.0] > at org.apache.nifi.processor.util.bin.Bin.offer(Bin.java:142) > ~[na:na] > at > org.apache.nifi.processor.util.bin.BinManager.offer(BinManager.java:194) > ~[na:na] > at > org.apache.nifi.processor.util.bin.BinFiles.binFlowFiles(BinFiles.java:279) > ~[na:na] > at > org.apache.nifi.processor.util.bin.BinFiles.onTrigger(BinFiles.java:178) > ~[na:na] > at > org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1099) > ~[nifi-framework-core-1.1.0.jar:1.1.0] > at > org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) > [nifi-framework-core-1.1.0.jar:1.1.0] > at > org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) > [nifi-framework-core-1.1.0.jar:1.1.0] > at > org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) > [nifi-framework-core-1.1.0.jar:1.1.0] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [na:1.8.0_65] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > [na:1.8.0_65] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) > [na:1.8.0_65] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) > [na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > [na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)