Migrating Oozie Shared Libraries

After you migrate the Oozie data to Cloudera, you must first configure Oozie, and then migrate custom ShareLib jars to your new cluster.

  1. 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 Cloudera environments.

  2. Paste the ShareLib in the new file system of the Cloudera environment.
    paste /user/oozie/share/lib/lib_{TIMESTAMP}/{COMPONENT}
  3. Run 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.