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 7CA8A200C1E for ; Thu, 2 Feb 2017 21:05:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7B7EE160B44; Thu, 2 Feb 2017 20:05:00 +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 A0508160B57 for ; Thu, 2 Feb 2017 21:04:59 +0100 (CET) Received: (qmail 44126 invoked by uid 500); 2 Feb 2017 20:04:58 -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 44113 invoked by uid 99); 2 Feb 2017 20:04:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2017 20:04:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6E2EF1A0578 for ; Thu, 2 Feb 2017 20:04:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WC68pOkPt8Kv for ; Thu, 2 Feb 2017 20:04:57 +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 EC50C5FB76 for ; Thu, 2 Feb 2017 20:04:56 +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 DA431E0324 for ; Thu, 2 Feb 2017 20:04:51 +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 92FD32528A for ; Thu, 2 Feb 2017 20:04:51 +0000 (UTC) Date: Thu, 2 Feb 2017 20:04:51 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-3424) CLONE for 0.x - Unable to generate Provenance Event because FlowFile UUID is not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Feb 2017 20:05:00 -0000 [ https://issues.apache.org/jira/browse/NIFI-3424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15850398#comment-15850398 ] ASF GitHub Bot commented on NIFI-3424: -------------------------------------- Github user mosermw closed the pull request at: https://github.com/apache/nifi/pull/1459 > CLONE for 0.x - Unable to generate Provenance Event because FlowFile UUID is not set > ------------------------------------------------------------------------------------ > > Key: NIFI-3424 > URL: https://issues.apache.org/jira/browse/NIFI-3424 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Affects Versions: 0.7.1 > Reporter: Michael Moser > Assignee: Michael Moser > Fix For: 0.8.0 > > > If I view a Provenance Event and click the Replay button, all works as expected, if NiFi continues to run. However, if I replay a FlowFile and leave the FlowFile in the queue while NiFi is restarted, upon restart I see the following error in the log when trying to process the FlowFile: > 2016-11-15 12:40:21,658 ERROR [Timer-Driven Process Thread-4] o.a.n.c.r.StandardProvenanceReporter Failed to generate Provenance Event due to java.lang.IllegalStateException: Cannot create Provenance Event Record because FlowFile UUID is not set > 2016-11-15 12:40:21,664 WARN [Timer-Driven Process Thread-4] o.a.n.c.r.StandardProcessSession Unable to generate Provenance Event for StandardFlowFileRecord[uuid=,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1479231329248-1, container=default, section=1], offset=0, length=10240],offset=0,name=,size=10240] on behalf of UpdateAttribute[id=69080060-0158-1000-4b41-9b0e329b0c59] due to {} > java.lang.IllegalStateException: Cannot create Provenance Event Record because FlowFile UUID is not set > at org.apache.nifi.provenance.StandardProvenanceEventRecord$Builder.assertSet(StandardProvenanceEventRecord.java:723) ~[nifi-data-provenance-utils-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.provenance.StandardProvenanceEventRecord$Builder.build(StandardProvenanceEventRecord.java:744) ~[nifi-data-provenance-utils-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.provenance.StandardProvenanceEventRecord$Builder.build(StandardProvenanceEventRecord.java:401) ~[nifi-data-provenance-utils-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.controller.repository.StandardProvenanceReporter.generateDropEvent(StandardProvenanceReporter.java:104) ~[nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.controller.repository.StandardProcessSession.checkpoint(StandardProcessSession.java:255) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.controller.repository.StandardProcessSession.commit(StandardProcessSession.java:304) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:28) [nifi-api-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1089) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) [nifi-framework-core-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_60] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_60] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_60] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_60] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60] -- This message was sent by Atlassian JIRA (v6.3.15#6346)