Skip to main content
zstai
Silver ⭐️
December 29, 2016

Oozie workflow failing with NoClassDefFoundError

  • October 5, 2026 at 9:30 AM
  • 0 replies
  • 1029 views
  • Translate All

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