Member since
07-30-2019
3399
Posts
1621
Kudos Received
1001
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 487 | 11-05-2025 11:01 AM | |
| 375 | 11-05-2025 08:01 AM | |
| 606 | 11-04-2025 10:16 AM | |
| 746 | 10-20-2025 06:29 AM | |
| 886 | 10-10-2025 08:03 AM |
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
11:06 AM
@fowler7878 No problem. At this point you have extracted the the count successfully and used updateAttribute processor to subtract 31 from it. You do not need to write it back to the content to use it in putEmail processor. The majority of the putEmail processor configuration properties support NiFi Expression Language also. You can retrieve the value of your FlowFiiles attribute with this simple NiFi EL statement: ${COUNTFILES} So you can use above anywhere in the string you configure in the the "Subject" and/or "Message" configuration properties. Thanks, Matt If you found my answer help you to a solution, please don't forget to mark it as the accepted solution.
... 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
10:21 AM
I followed the suggestions #1 in this answer and it worked. If that doesn't work, to be sure that the files are identical on the servers, do md5sum of the files.
... View more
12-10-2019
07:28 AM
Hi Matt, thanks - works fine for me!
... View more
12-09-2019
12:58 PM
@Aaki_08 You may want to try executing following commands: 1. On the Ambari server host: ambari-server stop 2. On all hosts ambari-agent stop 3. On Ambari server host: ambari-server uninstall-mpack --mpack-name=hdf-ambari-mpack --verbose Hope this helps you, Matt
... View more
12-06-2019
03:01 AM
Thank u Matt. Its working.
... View more