Member since
07-08-2016
260
Posts
44
Kudos Received
10
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2428 | 05-02-2018 06:03 PM | |
4899 | 10-18-2017 04:02 PM | |
1571 | 08-25-2017 08:59 PM | |
2151 | 07-21-2017 08:13 PM | |
8620 | 04-06-2017 09:54 PM |
08-31-2016
08:53 PM
2 Kudos
Hi ,Can we flatten complex JSON files (with lists,arrays etc)with NIFI.?
... View more
Labels:
- Labels:
-
Apache NiFi
08-30-2016
09:52 PM
@mclark @Bryan Bende I tried the same thing , I had the List-->Fetch-->Output port inside a process group on remote machine. My local NiFi was not able to find that port , But when I removed it from the process group and copied on to main canvas then my local NiFi was able to find it. Thank you both.
... View more
08-30-2016
08:28 PM
I have my NIFI running on a remote machine which i access from my local machine using http://remoteurl:9090/nifi i could fetch files from HDFS using List\FetchHDFS and if i want to PutFiles on to my local machine , it will not work as NiFi is running on remote machine and it wont have access to my local folders. i think we can achive this by running another NiFi instance locally on my machine and thru Remote process groups. but our firewall is only open oneway from local to remote. i could call a remote process on remote machine from my local nifi , but i cannot call a remote process on local machine from remote nifi. any ideas on how to solve?
... View more
Labels:
- Labels:
-
Apache NiFi
08-29-2016
08:22 PM
@mclark, Ok , but RouteOnContent checks for the string in the whole file. where as i want to compare only the firstline . if i have my RouteOnContent like below..it would route files to "Header" even if the data satisfies the RegEx.
... View more
08-29-2016
06:36 PM
Hi, I need to merge contents based on .CSV file headers. Lets say if i have 10 files in a folder and 5 of them with same header Name,Age,Gender.I want to merge all those 5 together and send rest to failures. How can i do that.?
... View more
Labels:
- Labels:
-
Apache NiFi
08-25-2016
08:07 PM
@Bryan Bende , RouteOnAttribute will know the value of header.? Don't i have to read the value of first line to know the header.? if i have to read first line then should i use SplitText which i read creates a flow file for each line which i want to avoid as i am trying to move thousands of files . below is a simple flow ..i created 5 files , 4 with header foo and one with a different header. i want to merge all the 4 files with foo as header. tried the approach suggested by you above , but its routing everything to unmatched.
... View more
08-25-2016
03:51 PM
@Bryan Bende , How do I send files with same header (hardcoded??) to MergeContent process and files that do not match the header I am planning to send those to failures. can this be done .?
... View more
08-24-2016
08:47 PM
@mpayne, is there a way i can check for headers from CVS files and merge all files with similar headers and route other files to failures.??
... View more
08-23-2016
04:15 PM
Its working now after I changed it to localhost, i think as you mentioned it was resolving to server’s IP address earlier and
now with “localhost” as the hostname , the Tunnel is routing it to the 9091
port.
... View more
08-19-2016
02:51 PM
Hi Bryan, here are my config files and settings.. local instance of nifi # Site to Site properties nifi.remote.input.socket.host= nifi.remote.input.socket.port= nifi.remote.input.secure=false --Remote instance of nifi nifi.remote.input.socket.host= nifi.remote.input.socket.port=9091 nifi.remote.input.secure=false SSH Tunnel on local server (where local instance of NiFi is running) and here is how my local dataflow looks.. remote
... View more