Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

oozie fails in executing hive command

oozie fails in executing hive command

New Contributor
Starting Job = job_1466616907961_1324, Tracking URL =
Kill Command = /usr/hdp/ job  -kill job_1466616907961_1324
Hadoop job information for Stage-1: number of mappers: 0; number of reducers: 0
2016-07-11 23:47:39,901 Stage-1 map = 0%,  reduce = 0%
Ended Job = job_1466616907961_1324 with errors
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from
MapReduce Jobs Launched: 
Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec 

Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]


Re: oozie fails in executing hive command

New Contributor

Also in the yarn i find the following error :

Job init failed : org.apache.hadoop.yarn.exceptions.YarnRuntimeException: File does not exist: hdfs://asc/user/hdfs/.staging/job_1466616907961_1330/job.splitmetainfo at$InitTransition.createSplits( at$InitTransition.transition( at$InitTransition.transition( at org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition( at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition( at org.apache.hadoop.yarn.state.StateMachineFactory.access$300( at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition( at at at$JobEventDispatcher.handle( at at org.apache.hadoop.service.AbstractService.start( at$ at Method) at at at at Caused by: File does not exist: hdfs://asc/user/hdfs/.staging/job_1466616907961_1330/job.splitmetainfo at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall( at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall( at org.apache.hadoop.fs.FileSystemLinkResolver.resolve( at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus( at org.apache.hadoop.mapreduce.split.SplitMetaInfoReader.readSplitMetaInfo( at$InitTransition.createSplits(

Re: oozie fails in executing hive command

Please provide more information like, are you executing Oozie workflow from coordinator? what other actions are there in oozie workflow and what is the flavor and cluster your are using?


Re: oozie fails in executing hive command


@nirup reddy try executing your job as user yarn

same answer was provided on this HCC thread

if it's an unsecured cluster, you may check the value of yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users :

  • false will launch containers as the user who submitted the application
  • true will launch containers as user specified in yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user
Don't have an account?
Coming from Hortonworks? Activate your account here