Migrating Oozie to CDP
After you migrate the Oozie data to CDP, you must first configure Oozie, and then migrate custom ShareLib jars to your new cluster.
You must configure Oozie to work with different CDP services including Sqoop actions, Yarn
jobs, and HDFS HA. For information on configuring these services, see Configure Oozie.
Procedure
After you configure Oozie, you must migrate the custom ShareLib jars to the new
cluster.
- Copy the Oozie ShareLib jar from your HDP or CDH cluster:
cp /user/oozie/share/lib/lib_{TIMESTAMP}/{COMPONENT}
The location of the Oozie ShareLib is the same across the HDP, CDH, and CDP environments.
- Paste the ShareLib in the new file system of the CDP
environment.
paste /user/oozie/share/lib/lib_{TIMESTAMP}/{COMPONENT}
- Execute a ShareLib
update:
oozie admin -oozie {OOZIE_URL} -sharelibupdate
After you migrate the custom ShareLib jars, update the workflow XML files for DFS paths, JDBC URLs (for example, Hive), and so on, to manage the new environment.