"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 NOVEMBER 28, 2017

Applies to:

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


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

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)




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