Applying a custom processor patch to NiFi
Complete the following steps to apply the custom processor patch to NiFi.
Procedure
Note: The following steps only apply until HCL Commerce
version 9.1.10.0.
- Open a web browser and log in to the HCL License and Delivery portal website to download the code patch JAR.
- Place the code patch JAR into /patches directory. If this folder is mapped to an external storage volume, you can place the patch JAR there without logging into the NiFi container.
- Restart the NiFi container to apply the patch during the next server start-up.
Results
The patch will be applied automatically upon next start up if the
AUTO_PATCHING deployment variable is set to true
. If you
deploy using Kubernetes, then set AUTO_PATCHING to "true." If you
are not using Kubernetes and the variable is not set to true
, you must apply the
patch manually. To manually apply the patch, log on to the container and run
patch.sh from with in the
/opt/nifi/scripts directory.