- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Debugging NiFi flow
- Labels:
-
Apache NiFi
-
Cloudera DataFlow (CDF)
Created ‎12-12-2016 08:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a NiFi flow that consumes lot of memory. How can I diagnosis the flow to isolate the problem and find the processor that
Created ‎12-12-2016 02:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use NiFis native reporting to monitor:
https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Reporting_Tasks
For your needs, there is a memory monitor which checks the amount of Java Heap available in the JVM for a particular JVM Memory Pool. If the amount of space used exceeds some configurable threshold, will warn (via a log message and System-Level Bulletin) that the memory pool is exceeding this threshold.
See this post for more on NiFi Reporting:
Created ‎12-12-2016 02:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<logger name="org.apache.nifi.processors.standard.GetFile" level="DEBUG"/>
Are you running with a default configuration? If so you could try bumping your memory settings in conf/bootstrap.conf. They default to 512mb, you may want to try bumping it up to 1024mb.
If you could post more about your flow/use case I'm sure we can help narrow down which processor is causing the problem.
Created ‎12-12-2016 02:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use NiFis native reporting to monitor:
https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Reporting_Tasks
For your needs, there is a memory monitor which checks the amount of Java Heap available in the JVM for a particular JVM Memory Pool. If the amount of space used exceeds some configurable threshold, will warn (via a log message and System-Level Bulletin) that the memory pool is exceeding this threshold.
See this post for more on NiFi Reporting:
Created ‎12-12-2016 04:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Apache Nifi 1.1 there is also the new back pressure indicator bars that you can configure. These may be able to give you a clue as to where the bottleneck is...
