ODI 12c Receives "Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask" When Using Apache Hive

(Doc ID 2323697.1)

Last updated on NOVEMBER 07, 2017

Applies to:

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


Oracle Data Integrator (ODI) 12c Mappings are used to load data from HBase to Hive using "IKM Hive Append".

When a small amount of data is transferred, the execution of Mappings succeeds.

When a larger data set is transferred, the execution of some Mappings fails and following message is received:

ODI-1228: Task Load XXXXX-IKM Hive Append- fails on the target connection YYYYY.
Caused By: java.sql.SQLException: [FMWGEN][Hive JDBC Driver][Hive]Error while processing statement: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
  at weblogic.jdbc.hivebase.ddcp.b(Unknown Source)
  at weblogic.jdbc.hivebase.ddcp.a(Unknown Source)
  at weblogic.jdbc.hivebase.ddco.b(Unknown Source)
  at weblogic.jdbc.hivebase.ddco.a(Unknown Source)
  at weblogic.jdbc.hive.hiveServer2.ddl.p(Unknown Source)
  at weblogic.jdbc.hive.hiveServer2.ddl.a(Unknown Source)
  at weblogic.jdbc.hive.hiveServer2.ddl.k(Unknown Source)
  at weblogic.jdbc.hive.hiveServer2.ddl.b(Unknown Source)
  at ...




Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms