Reply
Explorer
Posts: 25
Registered: ‎07-09-2015

Launcher exception: Output directory not set in JobConf

Hi,

 

I am using Clouder Quickstart VM- 5.4.0.

 

I am trying run my workflow via Hue. But I am getting below error message:

 

2015-07-20 07:08:34,124  WARN MapReduceActionExecutor:523 - SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[] APP[Simple_Workflow] JOB[0000004-150716023802171-oozie-oozi-W] ACTION[0000004-150716023802171-oozie-oozi-W@mapreduce-1616] Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.MapReduceMain], main() threw exception, Output directory not set in JobConf.
2015-07-20 07:08:34,125  WARN MapReduceActionExecutor:523 - SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[] APP[Simple_Workflow] JOB[0000004-150716023802171-oozie-oozi-W] ACTION[0000004-150716023802171-oozie-oozi-W@mapreduce-1616] Launcher exception: Output directory not set in JobConf.
org.apache.hadoop.mapred.InvalidJobConfException: Output directory not set in JobConf.
    at org.apache.hadoop.mapred.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:118)

 

I am passing all the properties like map &reducer class, input &output path. Could you please suggest what could be the problem?

Posts: 1,836
Kudos: 416
Solutions: 295
Registered: ‎07-31-2013

Re: Launcher exception: Output directory not set in JobConf

What property name are you using to specify the output directory?

Explorer
Posts: 25
Registered: ‎07-09-2015

Re: Launcher exception: Output directory not set in JobConf

Hi,

 

I am passing mapred.mapper.class, mapred.reducer.class, mapred.input.dir and mapred.output.dir properties.

 

But for this workflow on dashboard, I can see only below in configurations:

 

Name     Value
hue-id-w     50012
jobTracker     localhost:8032
mapreduce.job.user.name     cloudera
nameNode     hdfs://quickstart.cloudera:8020
oozie.use.system.libpath     True
oozie.wf.application.path     hdfs://quickstart.cloudera:8020/user/hue/oozie/workspaces/hue-oozie-1436897516.36
user.name     cloudera

 

 

Highlighted
Explorer
Posts: 25
Registered: ‎07-09-2015

Re: Launcher exception: Output directory not set in JobConf

Hi,

 

I saw this link:

 

https://github.com/cloudera/hue/issues/179

 

I think I am facing the same issue. Could you please let me know how to fix this issue.

Announcements