External UDF Library Deployment Folder

A default external UDF Library Deployment folder is created when you install MashZone NextGen at <MashZone NextGen installation>/raql-udfs where you can deploy all your user-defined functions.

In clustered environments, you may want to create a shared external folder for MashZone NextGen configuration and move all user-defined functions, including the MashZone NextGen built-in function library, to this shared location for all members of the cluster.

If you move user-defined functions from the default UDF Library Deployment folder, you must also update an environmental variable for each MashZone NextGen Server:

  1. Edit the script for the appropriate operating system in any text editor of your choice:

    <MashZone NextGen installation>/apache-tomcat/bin/setenv.bat file, for Windows systems, or

    <MashZone NextGen installation>/apache-tomcat/bin/setenv.sh file for Linux, OS/X or UNIX systems.

  2. Add or update the -Dpresto.raql.udf.libsDir system property with the path to point to the new shared location.
  3. Save your changes and restart the MashZone NextGen Server. See Start and Stop the MashZone NextGen Server for instructions.