My Oracle Support Banner

"java.lang.NoSuchMethodError: org.apache.hadoop.hive.metastore.HiveMetaStoreClient" Error When Using ODI 12c "LKM Hive to Oracle OLH-OSCH" With HDP 3.x (Doc ID 2636172.1)

Last updated on FEBRUARY 10, 2020

Applies to:

Oracle Data Integrator - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Using Apache Hive version 3.1.0.3.1.2.1-1 and Hortonworks Data Platform (HDP) version 3.1.2.1-1.

An Oracle Data Integrator (ODI) 12c Mapping is created to transfer data from a Hive table to an Oracle table using Oracle Loader for Hadoop (OLH) and "LKM Hive to Oracle OLH-OSCH". and it fails to execute due to error:

java.lang.NoSuchMethodError: org.apache.hadoop.hive.metastore.HiveMetaStoreClient.(Lorg/apache/hadoop/hive/conf/HiveConf;Lorg/apache/hadoop/hive/metastore/HiveMetaHookLoader;)V
  at oracle.hadoop.utils.HiveUtils.newHiveMetaStoreClient(HiveUtils.java:134)
  at oracle.hadoop.loader.lib.input.HiveToAvroInputFormat.getSplits(HiveToAvroInputFormat.java:352)
  ...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.