Member since
06-18-2018
39
Posts
0
Kudos Received
0
Solutions
08-21-2018
06:52 AM
Thanks for the reply @Harald Berghoff can you suggest me how to give the input directory path in listFile processor for below scenario. lets assume these folders exists in local system. /homepath/ranga/inbox/ /homepath/krishna/inbox/ /homepath/kaja/inbox/ /homepath/jilebhi/inbox/ /homepath/laddu/inbox/ /homepath/bundhi/inbox/ like 100+ folders are there...i have used multiple listFile processor based on folder size files. lets assume, 3 listFile processors i used in my flow and want to configure perticular folders in listFile processor. in first listFile processor, i want to point (ranga, krishna) folder paths, in second listFile processor, i want to point (kaja, jilebhi) folder paths, in third listFile processor, i want to point (laddu, bundhi) folder paths, can you please suggest me how to achieve above case... Thanks, Rangareddy Y
... View more
08-21-2018
06:44 AM
no luck, same error..if i give full path without asterisk, it is accepting.
... View more
08-21-2018
05:26 AM
Used the same regex expression as input directory property value. processor is invalid and getting directory does not exist error.
... View more
08-21-2018
05:05 AM
if i give /homedir/*/inbox/ in listFile processor, processor is showing invalid and giving error "directory does not exist".
... View more
08-21-2018
04:06 AM
@Harald Berghoff inbox does not have any sub folders..we have to scan inbox folder files only. in below case, how to write logic for input directory ? lets assume these folders exists in local system. /homepath/ranga/inbox/ /homepath/krishna/inbox/ /homepath/kaja/inbox/ /homepath/jilebhi/inbox/ /homepath/laddu/inbox/ /homepath/bundhi/inbox/ like 100+ folders are there...i have used multiple listFile processor based on folder size files. lets assume, 3 listFile processors i used in my flow and want to configure perticular folders in listFile processor. in first listFile processor, i want to point (ranga, krishna) folder paths, in second listFile processor, i want to point (kaja, jilebhi) folder paths, in third listFile processor, i want to point (laddu, bundhi) folder paths, can you please suggest me how to achieve above case... Thanks, Rangareddy Y
... View more
08-20-2018
12:58 PM
Thanks for the reply... sorry given wrong directory names..there is no name matching in folder names...in this case, how to give the path..like below /homepath/ranga/inbox/ /homepath/krishna/inbox/ /homepath/kaja/inbox/ /homepath/jilebhi/inbox/ /homepath/laddu/inbox/ /homepath/bundhi/inbox/ like 100+ folders are there...i have used multiple listFile processor based on folder size files. lets assume, 3 listFile processors i used in my flow and want to configure below paths. in first listFile processor, i want to point (ranga, krishna) folder paths, in second listFile processor, i want to point (kaja, jilebhi) folder paths, in third listFile processor, i want to point (laddu, bundhi) folder paths, can you please suggest me how to achieve above case... Thanks, Rangareddy Y
... View more
08-20-2018
12:58 PM
Thanks for the reply... sorry given wrong directory names..there is no name matching in folder names...in this case, how to give the path..like below /homepath/ranga/inbox/ /homepath/krishna/inbox/ /homepath/kaja/inbox/ /homepath/jilebhi/inbox/ /homepath/laddu/inbox/ /homepath/bundhi/inbox/ like 100+ folders are there...i have used multiple listFile processor based on folder size files. lets assume, 3 listFile processors i used in my flow and want to configure below paths. in first listFile processor, i want to point (ranga, krishna) folder paths, in second listFile processor, i want to point (kaja, jilebhi) folder paths, in third listFile processor, i want to point (laddu, bundhi) folder paths, can you please suggest me how to achieve above case... Thanks, Rangareddy Y
... View more
08-20-2018
11:52 AM
Thanks for the reply. sorry, given wrong names..we have customer names like below /homepath/ranga/inbox/ /homepath/reddy/inbox/ /homepath/yenimi/inbox/ /homepath/test1/inbox/ . . . like we have 100+ different folders are there.... there is no common name pattern in customer name...in this case..how to give.. like above, we have 100+ customer folders are there...we are planning to write multiple listFile processor to read files based on income files. In this case, how can we give (a,b,c,d,e,f ) customers in one listFile processor and (g,h,i,j,k,l) in another listFile processor... Thanks, Rangareddy Y
... View more
08-20-2018
09:59 AM
Hi Team, I need to read files from multiple folders. In listFile processor, i have given like below input Directory : / homepath / [customer_*] / inbox / This is causing invalid processor. how to use expression language to ready multiple folder paths. or if i give /homepath/ only input directory, it is reading all the folders along with inbox folder under customer_* directory. local Directory path : /homepath/customer_A/inbox/ /homepath/customer_B/inbox/ /homepath/customer_C/inbox/ /homepath/customer_D/inbox/ can anyone suggest me how to use expression language to define the input directory path in listFile processor. Thanks, Rangareddy Y
... View more
Labels:
- Labels:
-
Apache NiFi
08-20-2018
07:04 AM
Hi Team,
I have folders like below. i want to read files from inbox folder only for all customers (customer_A, customer_B, customer_C). /homepath/customer_A/inbox/
/homepath/customer_A/outbox/
/homepath/customer_A/sentbox/
/homepath/customer_A/recievebox/
/homepath/customer_B/inbox/
/homepath/customer_B/outbox/
/homepath/customer_B/sentbox/
/homepath/customer_B/recievebox/
/homepath/customer_C/inbox/
/homepath/customer_C/outbox/
/homepath/customer_C/sentbox/
/homepath/customer_C/recievebox/
in ListFile processor, can you suggest me how to give multiple customer names and inbox folder name.
if i give /homepath/ in directory property, listFile is listing the files of other folders outbox, sentbox.. Can any one suggest me how to use expression language to give multiple customername and inbox folder in ListFile directory property. Note: there is a chance, in future there could be more customer folders we need to read.
Thanks, Rangareddy Y
... View more
Labels:
- Labels:
-
Apache NiFi
- « Previous
-
- 1
- 2
- Next »