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.

how change NIFI property in runtime

Solved Go to solution
Highlighted

how change NIFI property in runtime

Dears,

How can we change a property in nifi.properties file to be updated by nifi in runtime?

Example:

Modify the following property in nifi.properties file : " nifi.variable.registry.properties " and nifi get this modification in runtime (without restarting nifi).

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how change NIFI property in runtime

Master Guru
@Bilel Boubakri

NiFi only reads the nifi.properties file on startup. so currently edits to this file cannot be done during runtime. A restart is going to be required. The only configuration file that is regularly read by NiFi during runtime is the logback.xml file.

Thanks,

Matt

View solution in original post

2 REPLIES 2

Re: how change NIFI property in runtime

Master Guru
@Bilel Boubakri

NiFi only reads the nifi.properties file on startup. so currently edits to this file cannot be done during runtime. A restart is going to be required. The only configuration file that is regularly read by NiFi during runtime is the logback.xml file.

Thanks,

Matt

View solution in original post

Highlighted

Re: how change NIFI property in runtime

Cloudera Employee

you can try to include updateAttribute and modify particular variable in runtime. If that needs to be permanent for all flowfiles, update in nifi.properties--> nifi.variable.registry.properties (example: create custom.properties and add custom variables) and restart as suggested by @Mattclarke

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