Member since
10-04-2017
4
Posts
3
Kudos Received
0
Solutions
10-06-2017
02:02 AM
I did. Used a executescript processor in which I will pass the directoryname as a dynamic parameter which I get from the listenHTTP and after the executescript I used fetchfile to read a single file and then used puthdfs to load into HDFS.
... View more
10-04-2017
05:29 PM
But how do I provide the parameter directoryname. As far as I understand GetFile doesn't accept an incoming flow.
... View more
10-04-2017
04:34 PM
My workflow is like below.
ListenHTTP(i get a directory name here) --> SplitText --> ExtractText(directory name added as attribute) Now after this i will have to use that attribute directoryname and extract all the files in that local dir and put that into HDFS. I understand GetFile/ListFile could do this, but how do we provide a dynamic directory name to that processor?
... View more
Labels:
- Labels:
-
Apache NiFi