Member since
03-09-2024
3
Posts
2
Kudos Received
0
Solutions
04-30-2024
02:11 AM
1 Kudo
Use a Dedicated Temporary Directory Configure a Temporary Directory, Set an environment variable within your Kubernetes deployment YAML file specifying an alternative temporary directory with appropriate permissions for the NiFi user. You can leverage an empty directory volume mounted specifically for temporary files. Update NiFi Configuration, Modify the NiFi configuration (potentially within the bootstrap.conf file) to use the environment variable for the temporary directory. Consult the NiFi documentation for specific instructions on how to configure an alternate temporary directory. @TreantProtector
... View more
03-28-2024
07:43 AM
@TreantProtector Everything the user adds to the canvas including controller service and reporting tasks are auto-saved in the flow.json.gz. Each time a change is made the current flow.json.gz is archived and new flow.json.gz is generated. Within the flow.json.g are all components (processors, connections, controller services, reporting tasks, funnels, process groups, ports, parameters, etc.) and their configurations. Any configuration property that is "sensitive" (passwords) are going to be encrypted in the flow.json.gz file. So in order to load that flow.json.gz in another NiFi, you would need to know the nifi.sensitive.props.algorithm and nifi.sensitive.props.key used by the original NiFi which it came from. Encrypted Passwords in Flows If you don't have that info, the flow.json.gz can still be loaded on another NiFi after manually editing the file to remove all the "enc{...}" values. Once flow.json.gz loads, an authorized user would need to re-enter all passwords in all components where it is needed via the NiFi UI. Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more