My Oracle Support Banner

ODI Mapping Error "User Null Does Not Belong To Hadoop" while Loading Data from Oracle to Hive (Doc ID 2410717.1)

Last updated on JUNE 16, 2022

Applies to:

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


An Oracle Data Integrator (ODI) mapping loads data from Oracle Database to Hive using "LKM SQL to HIVE SQOOP." The mapping execution fails at step "Launch SQOOP Import" from "LKM SQL to Hive SQOOP" with the below error:

Logging initialized using configuration in jar:file:/usr/hdp/!/
Time taken: 2.143 seconds
Loading data to table <SCHEMA>.<TABLE>
Failed with exception User null does not belong to hadoop
   at org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.setOwner(
   at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setOwner(
   at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setOwner(
   at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setOwner(
   at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(
   at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$
   at org.apache.hadoop.ipc.RPC$
   at org.apache.hadoop.ipc.Server$Handler$
   at org.apache.hadoop.ipc.Server$Handler$
   at Method)
   at org.apache.hadoop.ipc.Server$

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask
   at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(
   at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(

The same error is returned whether running with Local/No Agent or J2EE Agent.


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

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