Applying a custom processor patch to the Query service
Complete the following steps to apply a custom processor patch to the Query service.
Procedure
- 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 Query container.
Note: Ensure that you create a backup of the search-query.jar file before applying the patch. Unlike the NiFi patching script, the Query service patch script does not perform automatic backup and reversion.
- Restart the Query 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 within the SETUP/bin
directory.