Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

NiFi memory leak on Production

Contributor

Hi All,

We set jmxremote and saw what NiFi has a memory leak. GC can not clean located memory, and after 2-3 days NiFi starts to work strange(all the time tries switch primary, monitoring API does not answer).

We made the update of HDF from 3.0 to 3.1.

Our environment is production, therefore we are limited for actions.

In our flow, we use all standard processors and one ExecuteScript (ECMAScript)

Java8

If you know how to search leak source or have any idea how to search we will be grateful.

Thanks,

Ilya

1 ACCEPTED SOLUTION

Cloudera Employee

@Ilya Li If you have nifi ranger plugin enabled, then memory leak is due to nifi ranger authoriser.

Jira: https://issues.apache.org/jira/browse/NIFI-4925

View solution in original post

3 REPLIES 3

Cloudera Employee

@Ilya Li If you have nifi ranger plugin enabled, then memory leak is due to nifi ranger authoriser.

Jira: https://issues.apache.org/jira/browse/NIFI-4925

Contributor

@hmatta Thanks for your answer. We user ranger plugin. If we user HDF 3.1.1.0 what should we do for resolving? Is it enough update to 3.1.2.0?

Cloudera Employee
@Ilya Li

Yes upgrading to HDF-3.1.2.0 will solve this issue and few other issues of HDF-3.1.1. Please accept the answer if you find it appropriate.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.