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.

NiFi crashes when I try to turn it on ( org.apache.nifi.web.NiFiCoreException : unable to start Flow controller)

Highlighted

NiFi crashes when I try to turn it on ( org.apache.nifi.web.NiFiCoreException : unable to start Flow controller)

Explorer

When I try to turn on the NiFi it crashes with the below error. I would be grateful if someone can help me!

14119-error-found.jpg

3 REPLIES 3
Highlighted

Re: NiFi crashes when I try to turn it on ( org.apache.nifi.web.NiFiCoreException : unable to start Flow controller)

Master Guru

@Emmanouil Petsanis

My First thought would be to try increasing the number of available file handles for the user running you NiFi in the limits.conf file on your server.

I would suggest setting a value of at least:

* hard nofile 50000

* hard noproc 50000

* soft noproc 50000

* soft nofile 50000

After making the above change, see if you can start NiFi.

Thanks,

Matt

Highlighted

Re: NiFi crashes when I try to turn it on ( org.apache.nifi.web.NiFiCoreException : unable to start Flow controller)

Explorer

Thank you @Matt Clarke for your instant reply but it still doesn't work. I forgot to mention that I am running it on Hortonworks sandbox and 3 days ago it was running perfectly!

Highlighted

Re: NiFi crashes when I try to turn it on ( org.apache.nifi.web.NiFiCoreException : unable to start Flow controller)

Master Guru

@Emmanouil Petsanis

Was there some error or condition that occurred prior to this issue (Out of disk space issues, repo corruption, etc...)?

Do you run into the same issue if you switch to a newer release version? The latest HDF release is HDF 2.1.2

http://docs.hortonworks.com/HDPDocuments/HDF2/HDF-2.1.2/index.html

Thanks,

Matt

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