Support Questions

Find answers, ask questions, and share your expertise

Can symlink be used in nifi.properties file?

avatar
Explorer

Hi,

can we use symbolic link (symlink) to specify the following NIFI properties in the nifi.properties file?

nifi.content.repository.directory.default :                  ./content_repository(default value)
nifi.database.directory :                                              ./database_repository(default value)
nifi.flowfile.repository.directory :                               ./flowfile_repository(default value)
nifi.provenance.repository.directory.default :           ./provenance_repository(default value)

If yes what are the steps we have to follow?

1 REPLY 1

avatar

@shashikumar Although I do not recommend this, due to creating confusion, you certainly can symlink the file paths on any linux system.   Just be sure the permissions are correct on the final new path, then create the symlink back to the old paths.