- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NiFi PutFile processor: What directory to use? Nothing getting written to the directory?
- Labels:
-
Apache NiFi
Created ‎04-29-2018 08:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using NiFi 1.4.0 and using it with Chrome Version 65.0.3325.181 on a Win 10 box. I have a PutFile process and I am looking to write date to an output file on my local hard drive, like c:\data. The process works and I have c:\data in the Directory field, but I am not getting data written c:\data. The folder is empty, and not sure what else I can do. Can you help?
Thanks,
Paul
Created on ‎05-02-2018 03:21 AM - edited ‎08-17-2019 06:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think we can write to c:\ but can you use the below commands to check the files in test directory(is there any setting causing to hide these files?).
Open cmd terminal
c:\Users>cd ..
c:\>cd c:\test
c:\>dir
then you are going to see all the files in the directory.
if you don't see any files still then use
PutFile[id=1967bc4d-0163-1000-1af5-b40c46be92b6] Produced copy of StandardFlowFileRecord[uuid=58d18018-a864-4c12-a98d-498bbf8d19d1,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1525145201278-982, container=default, section=982], offset=336986, length=168493],offset=0,name=3706261132832753,size=168493] at location c:/test/3706261132832753
Assuming with above logs to configure GetFile processor and configure the processor with your test directory and file filter as same filename that you have stored into the directory
Input Directory
C:\test
File Filter
3706261132832753
Keep Source File
false

- « Previous
-
- 1
- 2
- Next »