Member since
06-26-2015
515
Posts
138
Kudos Received
114
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2269 | 09-20-2022 03:33 PM | |
| 6036 | 09-19-2022 04:47 PM | |
| 3258 | 09-11-2022 05:01 PM | |
| 3727 | 09-06-2022 02:23 PM | |
| 5799 | 09-06-2022 04:30 AM |
03-03-2022
12:33 AM
@Asim- , > There is not Failure FlowFile so I don't think its cause this isssue It doesn't hurt making the modification and trying. What I noticed is that if there's any exception during the execution of your code, due to the problem in that line that I mentioned, no error is shown in the UI and no flowfiles go to either the success or failure relationships. Please make the change and test to see if something else appears. Cheers, André
... View more
03-02-2022
11:36 PM
1 Kudo
Just rename the file to .txt and try to upload. If it doesn't work, you can copy and paste the content in a Word document (.docx)
... View more
03-02-2022
11:24 PM
1 Kudo
And the nifi-bootstrap.log file as well, please.
... View more
03-02-2022
11:22 PM
1 Kudo
Can you please upload your nifi-app.log here?
... View more
03-02-2022
11:13 PM
Have you tried the change that I suggested? Which version of NiFi do you have? Can you share the attributes of one of your flow files?
... View more
03-02-2022
10:34 PM
1 Kudo
That's true! That option fits perfectly to your needs. André
... View more
03-02-2022
10:32 PM
1 Kudo
That's really weird. I executed exactly the commands that I listed and it works for me. Are you sure that you started in an empty directory? What the OS of your computer?
... View more
03-02-2022
08:57 PM
@CookieCream Did the above work? André
... View more
03-02-2022
07:40 PM
@Asim- , Which version of NiFi are you using? I tested this on NiFi 1.15.2 and there was no "disconnection", although for some tests no output was being generated even thought there were no errors. The only thing that I could find was the following line: flowFile = session.putAttribute(flowFile, 'ERROR', e) The variable "e" contains an Exception object, not a string, and putAttribute only accepts string. That line would cause an exception when executed, which could explain the issue that you're seeing. Try changing it to the following and see if it helps: flowFile = session.putAttribute(flowFile, 'ERROR', str(e)) Cheers, André
... View more