[
https://issues.apache.org/jira/browse/NIFI-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16184338#comment-16184338
]
Randy Bovay commented on NIFI-4427:
-----------------------------------
!Multiple Duplicate Filenames.png!
[2017-09-28 11:39:28,426] ERROR [Timer-Driven Process Thread-31]
"o.a.nifi.processors.script.ExecuteScript"
ExecuteScript[id=23b6e4e6-015c-1000-bf56-01369e55cfd2] Failed to process
session due to org.apache.nifi.processor.exception.ProcessException:
javax.script.ScriptException:
org.apache.nifi.controller.repository.ContentNotFoundException:
org.apache.nifi.controller.repository.ContentNotFoundException: Could not find
content for StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1506450019018-35994,
container=content001, section=154], offset=1007892, length=1114] in <script> at
line number 14: {}
org.apache.nifi.processor.exception.ProcessException:
javax.script.ScriptException:
org.apache.nifi.controller.repository.ContentNotFoundException:
org.apache.nifi.controller.repository.ContentNotFoundException: Could not find
content for StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1506450019018-35994,
container=content001, section=154], offset=1007892, length=1114] in <script> at
line number 14
> Default for FlowFile's filename should be the FlowFile's UUID
> -------------------------------------------------------------
>
> Key: NIFI-4427
> URL: https://issues.apache.org/jira/browse/NIFI-4427
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Attachments: Multiple Duplicate Filenames.png
>
>
> Currently, when a new FlowFile is created without any parents, the filename
> is set to System.nanoTime(). This is likely to result in filename collisions
> when operating at a high rate and the extra System call could be avoided.
> Since we are already generating a unique UUID we should just use that as the
> filename.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)