- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How i can set getFile Path for Nifi.
- Labels:
-
Apache Hadoop
-
Apache NiFi
Created ‎04-26-2018 05:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How i can set getFile Path for Nifi. it is giving me error as i mentioned in picture. Please help. Thanks in Advance.
Created on ‎04-26-2018 06:00 AM - edited ‎08-18-2019 02:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Case1:-
If your file is in local filesystem then you can use get file processor
Input Directory
/demo/data
File Filter
cdrs.txt
Keep Source File
false //if set to false delete the file after fetch,if true don't delete the file
Case2:-
If your file is in Hadoop File system(HDFS) then you need to use GetHDFS processor to pull the file from Hdfs to NiFi.
If you are using kerberos then you need to specify principal and keytab values in the properties.
Hadoop Configuration Resources
<path to core-site.xml,hdfs-site.xml> //we need to provide the file path for core-site.xml,hdfs-site.xml here
Directory
/demo/data
Keep Source File
false //if set to false delete the file after fetch,if true don't delete the file
File Filter Regex
cdrs.txt
Let us know if you are having facing issues..!!
Created on ‎04-26-2018 06:00 AM - edited ‎08-18-2019 02:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Case1:-
If your file is in local filesystem then you can use get file processor
Input Directory
/demo/data
File Filter
cdrs.txt
Keep Source File
false //if set to false delete the file after fetch,if true don't delete the file
Case2:-
If your file is in Hadoop File system(HDFS) then you need to use GetHDFS processor to pull the file from Hdfs to NiFi.
If you are using kerberos then you need to specify principal and keytab values in the properties.
Hadoop Configuration Resources
<path to core-site.xml,hdfs-site.xml> //we need to provide the file path for core-site.xml,hdfs-site.xml here
Directory
/demo/data
Keep Source File
false //if set to false delete the file after fetch,if true don't delete the file
File Filter Regex
cdrs.txt
Let us know if you are having facing issues..!!
Created ‎04-26-2018 06:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right Said, Thank you so so so much. you saved my lot of efforts.
Created ‎04-26-2018 06:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Atif
Tariq
No Probs ..!!
If the Answer addressed your question, Click on Accept button below to accept the answer, That would be great help to Community users to find solution quickly for these kind of issues.
