You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Randy Gelhausen (JIRA)" <ji...@apache.org> on 2016/07/11 01:17:10 UTC

[jira] [Created] (NIFI-2216) PutFile doesn't create missing directories specified as part of the filename attribute

Randy Gelhausen created NIFI-2216:
-------------------------------------

             Summary: PutFile doesn't create missing directories specified as part of the filename attribute
                 Key: NIFI-2216
                 URL: https://issues.apache.org/jira/browse/NIFI-2216
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 0.6.0
            Reporter: Randy Gelhausen


Create the following flow:

GenerateFlowFile->UpdateAttribute: filename:non-existant-dir/test.txt -> PutFile with "Create Missing Directories" as true and "Directory" as /Users/randy/demos/data

Expected Behavior:
PutFile creates "non-existant-dir" as a subdirectory in "/Users/randy/demos/data"

Observed Behavior:
PutFile[id=48566a2c-fae1-4797-9be2-0d46e1637980] Penalizing StandardFlowFileRecord[uuid=f078b7d3-fb16-4696-8957-75f3c7754b86,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1468199376676-1, container=default, section=1], offset=39462, length=1703],offset=0,name=service-health/1468199399992.json,size=1703] and transferring to failure due to org.apache.nifi.processor.exception.FlowFileAccessException: Failed to export StandardFlowFileRecord[uuid=f078b7d3-fb16-4696-8957-75f3c7754b86,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1468199376676-1, container=default, section=1], offset=39462, length=1703],offset=0,name=service-health/1468199399992.json,size=1703] to /Users/randy/demos/consul/data/.service-health/1468199399992.json due to java.io.FileNotFoundException: /Users/randy/demos/consul/data/.service-health/1468199399992.json (No such file or directory): org.apache.nifi.processor.exception.FlowFileAccessException: Failed to export StandardFlowFileRecord[uuid=f078b7d3-fb16-4696-8957-75f3c7754b86,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1468199376676-1, container=default, section=1], offset=39462, length=1703],offset=0,name=service-health/1468199399992.json,size=1703] to /Users/randy/demos/consul/data/.service-health/1468199399992.json due to java.io.FileNotFoundException: /Users/randy/demos/consul/data/.service-health/1468199399992.json (No such file or directory)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)