Member since
12-20-2018
21
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2093 | 02-27-2019 09:30 AM |
02-15-2024
06:05 AM
How do you iterate the getAttributes() in Java? It won't work using just that method
... View more
07-22-2023
01:40 AM
Thanks for the Awesome information!
... View more
03-11-2022
04:08 AM
hi, this isn't working as it is on nifi 1.14, can you give me a hand please? i used a "generateFlowfile" with some random text, and connected to executeScript but get the following: ExecuteScript[id=78c5739f-017f-1000-0000-0000016ca301] ExecuteScript[id=78c5739f-017f-1000-0000-0000016ca301] failed to process due to javax.script.ScriptException: java.lang.NullPointerException: java.lang.NullPointerException in <script> at line number 25; rolling back session: java.lang.NullPointerException ↳ causes: Traceback (most recent call last): File "<script>", line 25, in <module> java.lang.NullPointerException java.lang.NullPointerException: java.lang.NullPointerException ↳ causes: javax.script.ScriptException: java.lang.NullPointerException: java.lang.NullPointerException in <script> at line number 25 ↳ causes: org.apache.nifi.processor.exception.ProcessException: javax.script.ScriptException: java.lang.NullPointerException: java.lang.NullPointerException in <script> at line number 25
... View more
12-29-2021
03:44 AM
Hello, Did you solve this issue? Does your readings works well with NiFi from the Modbus device?
... View more
11-04-2020
12:35 AM
You can handle the errors or outputs better with the custom processor approach.
... View more
10-22-2020
04:18 PM
@mburgess Helpful information shared. I am using Nifi 1.7.1 For my case, the incremental fetching does not seem to work correctly. All records gets ingested from the database but do not make it all the way to the destination. Processor used is GenerateTableFetch then Execute SQL and the other corresponding processors down the data processing flow. Record id is captured correctly on the GenerateTableFetch property state and its up to date as the record id from the source (db). However, it will still miss some records when processing the files making the number of records on the destination out of sync with the source from the db. Am i missing something, Would scheduling times for fetching help and how can I do that?
... View more
02-27-2019
09:30 AM
I've fixed it by using RouteOnAttribute to http.request.url attribute.
... View more
06-07-2019
02:29 PM
Thanks,Matt! Sorry for a late answer 🙂
... View more
02-26-2019
01:32 PM
You need to give an attribute to the response object by clicking to + sign. The processor must be stopped to add an attribute. Then response is HTTP/1.1 200 OK
Date: Tue, 26 Feb 2019 13:27:12 GMT
Content-Type: xml
Transfer-Encoding: chunked
Server: Jetty(9.4.3.v20170317) You may also look at another anwser here https://community.hortonworks.com/questions/86964/setting-custom-http-headers-with-handlehttprespons.html
... View more
02-27-2019
09:37 AM
Thanks Chris, it is also my use case for NiFi. Can you provide a download link for the template? Thanks.
... View more