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 Not getting Restarted

Hi All, I am facing a wierd problem today.

We noticed that the space in the root partition was full. The /var/log/nifi is configured in the same partition.

I cleared almost all the nifi logs, however within a minute they are appearing back and making root partition full.

What might be the cause for this ? How do I get it resolved? I have a standalone nifi instance

2 REPLIES 2

I am also seeing this error--> org.apache.nifi.bootstrap.RunNiFi Status File no longer exists. Will not restart NiFi

in bootstrap.log

Mentor
@Akash S

Sounds like you enabled some flow and based upon your current logging levels configured in your logback.xml you have insufficient disks space to sustain the amount of output being created.


You can reduce the log level via the logback.xml before restarting NiFi.

If the logging being produced is a result of a ERROR or WARN, you may want to restart your NiFi dataflow in a stopped state.

To do this change the following line in the nifi.properties configuration file before restarting NiFi:

nifi.flowcontroller.autoResumeState=

Do not forget to change this property back to "true" later so your NiFi does not always startup in a stopped state.

With everything in a stopped state you can make dataflow adjustments and enable/start only select processors/components.

Thanks,

Matt

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