Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

Mentor
@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

View solution in original post

2 REPLIES 2

Mentor
@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

Contributor

I see. Thanks.

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