Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar

The MiNiFi Java agent builds the nifi.properties file from default values and the ones exposed in the config.yml. To override the default values not exposed in the config.yml, a property must be added to the config.yml in the NiFi Properties Overrides section.

For example, content archiving is disabled by default. To enable this, add the following in the config.yml file:

 

NiFi Properties Overrides: {
  nifi.content.repository.archive.max.retention.period: 1 hour,
  nifi.content.repository.archive.max.usage.percentage: 10%,
  nifi.content.repository.archive.enabled: 'true'
}

 

Then, save the config.yml and restart the agent. If you look at the nifi.properties file, you will see the updated values.

 

NOTE:  This is a known issue (internal bug CEM-967) when using the Edge Flow Manager (EFM) to publish flows to the Java agent.  When a new flow is published, the agent does not retain the overridden properties. Hence, the properties have to be re-entered manually and then the agent has to be restarted.

1,205 Views
Version history
Last update:
‎06-29-2020 11:31 PM
Updated by:
Contributors