Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!
Labels (1)
avatar
New Contributor

SYMPTOM: Oozie workflow is failing with NoClassDefFoundError even though required jars are uploaded to the Oozie sharelib

ROOT CAUSE: Oozie needs to know what jars are needed for a specific action. For example, if you are using the Hive action but it needs HBase jars, this needs to explicitly defined in the oozie-site.xml

RESOLUTION:

Add oozie.action.sharelib.for.hive to the oozie-site.xml and list which sharelibs that are needed for this action. In the case where Hive action will use HBase:

oozie.action.sharelib.for.hive = hive,hcatalog,hbase,oozie,hive2

671 Views
0 Kudos
Labels
Version history
Last update:
‎12-28-2016 10:17 PM
Updated by:
Contributors