From 88bfa664dc0986be3987b685fe65d7fb0e114870 Mon Sep 17 00:00:00 2001 From: Aldrin Piri Date: Tue, 2 Jun 2015 15:18:16 -0400 Subject: [PATCH] nifi-643: Removing duplicate provenance FORK event in SplitJson for generated files. --- .../java/org/apache/nifi/processors/standard/SplitJson.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/SplitJson.java b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/SplitJson.java index ef7a86ace2..a3a4ed85a4 100644 --- a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/SplitJson.java +++ b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/SplitJson.java @@ -193,8 +193,6 @@ public class SplitJson extends AbstractJsonPathProcessor { segments.add(split); } - processSession.getProvenanceReporter().fork(original, segments); - processSession.transfer(segments, REL_SPLIT); processSession.transfer(original, REL_ORIGINAL); logger.info("Split {} into {} FlowFiles", new Object[]{original, segments.size()});