Support Questions

Find answers, ask questions, and share your expertise

NiFi Content Repo full

Super Collaborator

Hi,

i am running a load process where it has to go thru 1 TB files and only extract 100 MB and loads to HDFS.

but my content repo is 1 TB and getting error on it.

i thought it would start deleting the files once it reaches 50% , which its not doing.

how do i cleanup all the processed files??

nifi.content.repository.archive.max.retention.period=12 hours
nifi.content.repository.archive.max.usage.percentage=50%

can i change the archive.enabled=false and restart nifi will clear up the space.??

Regards,

Sai

1 REPLY 1

@Saikrishna Tarapareddy

Those properties refer only to the archive, not the content repository in general.

The content repository only cleans out a claim, that is how flow files are stored in the content repository, after all flow files associated with that claim are out of the flow graph.

Here is a link to an article that describes how the content repository archiving works: Understanding how NiFi's Content Repository Archiving works.

Depending on the version of HDF/NiFi you're using, it will clean out the archived files if you changed the archived.enabled to false.

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