Updating the Oozie Shared Libraries
About this task
maprfs:///oozie/share/lib
directory. If you have not changed the
oozie.service.WorkflowAppService.system.libpath
property in the
oozie-site.xml
file, Oozie will update and upload the shared
libraries automatically after rebuilding the Oozie war
file. Or you can
update sharelib
without rebuilding the war
file by
using the following steps.If the
oozie.service.WorkflowAppService.system.libpath
property in the
oozie-site.xml
file was changed from the default value
(/oozie/share/lib
), you must perform the following steps to
update the shared libraries:
Procedure
-
Based on the cluster MapReduce mode, run one of the following commands to copy
the new Oozie shared libraries to MapR-FS:
Cluster MapReduce Mode Command YARN {OOZIE_HOME}/bin/oozie-setup.sh sharelib create -fs maprfs:/// -locallib /opt/mapr/oozie/oozie-<version>/share2
Classic {OOZIE_HOME}/bin/oozie-setup.sh sharelib create -fs maprfs:/// -locallib /opt/mapr/oozie/oozie-<version>/share1
-
Run the following command to update the Oozie classpath with the new shared
libraries:
{OOZIE_HOME}/bin/oozie admin -sharelibupdate