Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

NiFi: PutHDFS, PutHiveQL parameterization

avatar
Expert Contributor

I tried creating a custom.properties file with a variable for the below and defining that in nifi.properties file (nifi.variable.registry.properties=./conf/custom.properties). However, it invalidates the processor. Is there any other way to parameterize the following?

PutHDFS

Hadoop Configuration Resources

PutHiveQL

Database Connection URL

Hive Configuration Resources


processor.jpg
1 ACCEPTED SOLUTION

avatar
Master Guru

Unfortunately not every property currently supports using the variable registry. The way you can tell is in the documentation for a processor, by looking at the property description. If it says "Supports Expression Language: true" then you can reference variables. For example, with PutHDFS it looks like only the Directory property currently supports it:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/index.ht...

View solution in original post

1 REPLY 1

avatar
Master Guru

Unfortunately not every property currently supports using the variable registry. The way you can tell is in the documentation for a processor, by looking at the property description. If it says "Supports Expression Language: true" then you can reference variables. For example, with PutHDFS it looks like only the Directory property currently supports it:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/index.ht...