My Oracle Support Banner

"ODI-30038: OS command returned 1" Error While Running An ODI Mapping That Loads Data From Oracle To Hive Using Apache Sqoop (Doc ID 2024953.1)

Last updated on APRIL 30, 2019

Applies to:

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

Symptoms

When running an Oracle Data Integrator (ODI) 12.1.3 Mapping which attempts to load data from an Oracle database to Hive on a remote Hadoop Cluster server using:

LKM SQL Multi-connect.GLOBAL, and
IKM SQL to Hive-File (SQOOP).GLOBAL

the task "Launch SQOOP Import" which calls the Apache Sqoop command-line tool in the following way:

OdiOSCommand "-OUT_FILE=/tmp/odi_7d739a91-ba7e-485d-9b64-928b27ca1162_10_GLOBAL/odi.out" "-ERR_FILE=/tmp/odi_7d739a91-ba7e-485d-9b64-928b27ca1162_10_GLOBAL/odi.err" sqoop \-\-options-file /tmp/odi_7d739a91-ba7e-485d-9b64-928b27ca1162_10_GLOBAL/odi.sqoop \-\-verbose 

fails with:

com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1.
 at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:295)
 at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:296)
 at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(SessionTask.java:870)
 ...

Changes

 

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
Changes
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.