Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Apache Nifi UI not working from time to time

Highlighted

Apache Nifi UI not working from time to time

New Contributor

Hi,

Im experimenting some integration scenarios on apache nifi on a small VM, 1gb, the instance is secured via LDAPS.

Everything works fine but i noticed that from time to time the UI becomes unreachable. Generally this happens either when : 

-> I have some controller which for some reason doesn't work anymore (e.g redis controller going down)

-> Not enough memory

 

Is there a solution to make apache nifi UI always accessible ? 

 

2 REPLIES 2

Re: Apache Nifi UI not working from time to time

@mahieddine 

It sounds like that either the VM will need more resources to run the current flow design or change the flow to require fewer resources.

Once there are OOM errors, then all sorts of other issues could occur.

Highlighted

Re: Apache Nifi UI not working from time to time

Explorer

In the conf/bootstrap.conf there are two settings for JVM Memory. They generally come out of the box set to 512mgs or something like that. We always have to bump them up to 8g. 

 

Look for this:

java.arg.2=-Xms8g
java.arg.3=-Xmx8g

 

Usually if this is the problem you'll get a specific error telling you about it so no guarentees. It sounds like you don't have a lot of memory on your VM period though.

Don't have an account?
Coming from Hortonworks? Activate your account here