Member since
01-05-2017
153
Posts
10
Kudos Received
2
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 4484 | 02-20-2018 07:40 PM | |
| 3306 | 05-04-2017 06:46 PM |
04-24-2017
05:39 PM
I know this may seem like a newbie question but I would like some understanding exactly of the fields on the Nifi processors. The reason I want to know is because often times I have a large number sitting in the OUT field and I suspect that means its queued but then what is the purpose of the queue in the transfer between the processors if that is the case? Often times my data will stop being produced and I will have to refresh refresh refresh waiting for the OUT fields and queues to finally "unclog" See screenshot
... View more
Labels:
- Labels:
-
Apache NiFi
04-20-2017
05:42 PM
BTW I ended up using the Footer property in MergeContent and it worked wonderfully with no regex involved.
... View more
04-20-2017
05:26 PM
Awesome! Yes! This is what I was looking for I think
... View more
04-20-2017
04:46 PM
I was thinking that too and Hellmar's answer gave me a clue as how to do it but using ReplaceText to add a newline doesn't allow me to specify "Add a new line right after a specific bin of events" or "Add a new line right before this first line in this bin of events" but rather it allows me to use regex to find keywords in the data (I am putting a newline before the timestamp which works but also adds an extra line after every event). Is there a way to specify "put a newline at the end of this bin of events before the append happens" ?
... View more
04-20-2017
01:19 PM
Thank you for this advice, but it requires me to use regex. The issue with this is that the end character(s) of events that may be coming in will be different for the type of setup we are using. I guess I can try to search for the start of the timestamp and try to put the "\n" before it which I will try. Its unfortunate and seems like a gross oversight if this append features exists this way, combining the previous event and appended event together. I was hoping there was a solution that was integrated in the technology for this instead of a workaround.
... View more
04-19-2017
09:02 PM
We have a PutHDFS processor with the attribute Conflict Resolution Strategy set to append so we can group together events based on a specific hour. What we found is that it is concatenating the event from the previous data to the first event in the bin that is being concatenated. This causes the timestamp become text within the file and data loss occurs. Example: Apr 19 1:06:59 event data here event data here event data hereApr 19 1:07:00 event data here... Should be Apr 19 1:06:59 event data here event data here event data here Apr 19 1:07:00 event data here... Has anyone else experiencing this problem or a workaround?
... View more
Labels:
- Labels:
-
Apache NiFi
04-19-2017
03:05 PM
I know this was from awhile ago but I just noticed with this solution, the appended data starts right at the end of the previous event causing data loss cause two events get smooshed together. Do you have this issue when you do this and how do you fix it? Example: Apr 11 05:00:39 fw01 /kernel: KERN_ARP_ADDR_CHANGE: arp info overwritten for 10.11.x.x from 00:xx:xx:xx:xx:cd to 00:xx:xx:xx:xx:a3Apr 11 05:00:39 fw01 /kernel: KERN_ARP_ADDR_CHANGE: arp info overwritten for 10.11.x.x from 00:xx:xx:xx:xx:a3 to 00:xx:xx:xx:xx:cd
... View more
04-14-2017
02:58 PM
We were running Nifi on a server that reached maximum storage usage (100%) and it seems to have corrupted the Nifi Installation. I initially got the error shown in the screenshot so I decided to restart Nifi and now it wont start with these errors: 2017-04-13 11:01:59,117 WARN [main] org.eclipse.jetty.webapp.WebAppContext Failed startup of context o.e.j.w.WebAppContext@6a486afb{/nifi-api,file:///opt/nifi-1.1.0.2.1.2.0-10/work/jetty/nifi-web-api-1.1.0.2.1.2.0-10.war/webapp/,UNAVAILABLE}{./work/nar/framework/nifi-framework-nar-1.1.0.2.1.2.0-10.nar-unpacked/META-INF/bundled-dependencies/nifi-web-api-1.1.0.2.1.2.0-10.war} 2017-04-13 11:01:59,807 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.lang.NullPointerException: null I'm thinking something got corrupted in the installation so I was just going to uninstall Nifi and reinstall but cannot seem to find any documentation on how to uninstall Nifi... Can anyone help to figure out these errors to fix them or help with how to uninstall Nifi? Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
04-10-2017
07:06 PM
Hey Bryan That was it! If you check out the tutorial at https://community.hortonworks.com/articles/56341/getting-started-with-minifi.html the wording makes it seem to me like we were meant to put in the IP address for the sending server. Thank you so much for your help. A week and half to figure this out.
... View more
04-10-2017
03:41 PM
So I think perhaps theres some confusion. foo.xyz.abc.com is the url of the location of the receiving server and of course, 8080/nifi is added to access the nifi interface 192.168.x.x is the IP address of the sending server. They are different values and should be. In response to your comment: If nifi.web.http.host and nifi.remote.input.host are the same in your nifi.properties, then you can ignore my previous comment. They are not the same - in fact, nifi.web.http.host is blank and when I put the same value as nifi.remote,input.host, the receiving servers Nifi UI does not work anymore (as expected) It is interesting to note that I was actually able to get Nifi to talk to itself through localhost using these values nifi.remote.input.host=localhost nifi.remote.input.secure=false nifi.remote.input.socket.port=10000 nifi.remote.input.http.enabled=true nifi.remote.input.http.transaction.ttl=30 sec
I think my next step is to install Nifi on another server than my sending server and try to send to my receiving server to try to figure out which server is the problem child.
... View more