oozie作业提交失败,检查了mapreduce.framework.name的配置和相应的服务器地址

时间:2013-04-29 21:52:26

标签: hadoop bigdata cloudera oozie

2013-04-29 14:47:28,686  WARN ActionStartXCommand:542 - USER[oozie] GROUP[-] TOKEN[] APP[map-reduce-wf] JOB[0000000-130429144458254-oozie-oozi-W] ACTION[0000000-130429144458254-oozie-oozi-W@mr-node] Error starting action [mr-node]. ErrorType [TRANSIENT], ErrorCode [JA009], Message [JA009: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.]
org.apache.oozie.action.ActionExecutorException: JA009: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.
  at org.apache.oozie.action.ActionExecutor.convertExceptionHelper(ActionExecutor.java:412)
  at org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:392)
  at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:760)
  at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:911)
  at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:211)
  at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:59)
  at org.apache.oozie.command.XCommand.call(XCommand.java:277)
  at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.
  at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:121)
  at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:83)
  at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:76)
  at org.apache.hadoop.mapred.JobClient.init(JobClient.java:495)
  at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:474)
  at org.apache.oozie.service.HadoopAccessorService$1.run(HadoopAccessorService.java:362)
  at org.apache.oozie.service.HadoopAccessorService$1.run(HadoopAccessorService.java:360)
  at java.security.AccessController.doPrivileged(Native Method)
  at javax.security.auth.Subject.doAs(Subject.java:396)
  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
  at org.apache.oozie.service.HadoopAccessorService.createJobClient(HadoopAccessorService.java:360)
  at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:954)
  at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:711)

1 个答案:

答案 0 :(得分:0)

就我而言,这个错误是由workflow.xml中的拼写错误提供的:<name-node>{$nameNode}</name-node>而不是<name-node>${nameNode}</name-node>