Member since
07-30-2019
3471
Posts
1642
Kudos Received
1020
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 150 | 06-03-2026 06:06 PM | |
| 460 | 05-06-2026 09:16 AM | |
| 827 | 05-04-2026 05:20 AM | |
| 496 | 05-01-2026 10:15 AM | |
| 622 | 03-23-2026 05:44 AM |
12-15-2019
09:26 PM
Sure thanks. @MattWho. it works!
... View more
12-13-2019
07:02 AM
@fowler7878 You are correct that MonitorActivity can not be used to monitor on activity based on per month thresholds. Your use case is not one NiFi is designed to handle. NiFi is designed to work with FlowFiles and typically NiFi processor are not designed to return directory listings. Your use case may require you to build your own custom NiFi processor or perhaps your own custom script that your can execute via ExecuteStreamCommand or ExecuteScript processors where the script returns number of files in a target directory which you can then make notification routing decisions with. I was just trying to offers a builtin solution/suggestion while not exactly what you are looking for. Thank you, Matt
... View more
12-12-2019
11:43 AM
@kam1 Processors are not coded to expose the exceptions to the FlowFile. Typically how this handled is by Using the SiteToSIteBulletinReportingTask. Anytime a component throws an exception the processor will display a bulletin in the upper right corner and that same bulletin will be sent to the bulletin board. The same exception along with stack trace (if there is one) is also logged to the nifi-app.log. The S2SBulletinReportingTasks allows you to capture all produced bulletins and send them via S2S to another NiFi or even back to same NiFi to be processed as FlowFiles for notification and alerting reasons through a dataflow. Writing exceptions out to FlowFile attributes would be problematic for following reasons: 1. FlowFile attributes exist in NiFi heap memory and exceptions can be large. 2. A FlowFile may pass multiple processor which produce bulletin/exception. Is expectation we overwrite previous exception with new exception? Or create a new FlowFile attribute based on processor uuid for each exception encounter during life of FlowFile? This leads back to point 1 issue. It is better to handle exceptions as content within their own FlowFiles via the reporting task mentioned above. Hope this helps, Matt
... View more
12-11-2019
03:20 PM
Hi Matt, Created the JIRA for the same. https://issues.apache.org/jira/browse/NIFI-6943 Thanks for reply Matt. Thanks, Dewashish
... View more
12-11-2019
10:30 AM
@xpelive Just want to make sure a couple configurations. 1. The port you are using in the URL (8180) is the "nifi.web.http.port=" and not the "nifi.remote.input.socket.port=" port configured in your nifi.properties file. 2. When you start your NiFi instance, you will see a line output in the nifi-app.log when startup is complete that says the NiFi Ui is available at the following URLs: Is "localhost:8180" listed in one of those URLs? If not, you need to use one of the URLs listed in your Remote Process Group. It might be that localhost is bound to a different NIC on your server than what NiFi is listening on. 3. If you have or will ever have more than 1 NiFi node in a NiFi cluster, using "localhost" is not going to work. Your NiFi nodes should be configured to use the actual hostnames fo the server on which the service is running. That hostname should be configured in both these properties: --- nifi.remote.input.host= --- nifi.web.http.host= 4. Since your NiFi is not secured, make sure that your nifi.properties file is not configured to be secure: nifi.remote.input.secure=false. Null exceptions are particularly difficult to diagnose because a null basically means there was no error handling coded to handle to particular exception. Thus we need o look at all angles of the configuration to see where the issue may reside.
... View more
12-11-2019
04:25 AM
2 Kudos
May be it will be useful for someone. I used searchValue as "\p{C}" and ReplaceValue as empty String \p{C} finds all non-printable characters.
... View more
12-10-2019
07:28 AM
Hi Matt, thanks - works fine for me!
... View more
12-06-2019
03:01 AM
Thank u Matt. Its working.
... View more
12-05-2019
04:49 PM
@emanueol as of this writing, I believe that XML attachments aren't allowed, but you can cut and paste the XML source code into the body of a post using the Insert/edit code sample feature of the editor.
... View more