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.

Does nifi.properties file accept Env variables?

Solved Go to solution

Does nifi.properties file accept Env variables?

Contributor

Hello,

Let's say I have HOSTNAME as an env variable.

May I set below property in nifi.properties file?

nifi.web.http.host=$HOSTNAME

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Does nifi.properties file accept Env variables?

Master Guru
@Alvin Jin

The nifi.properties file does not support environment variables. It expects hardcoded values or it will use default values some properties in teh absense of a configured value.

Thanks,

Matt

2 REPLIES 2

Re: Does nifi.properties file accept Env variables?

Master Guru
@Alvin Jin

The nifi.properties file does not support environment variables. It expects hardcoded values or it will use default values some properties in teh absense of a configured value.

Thanks,

Matt

Re: Does nifi.properties file accept Env variables?

Contributor

I see. Thanks.

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