oozie 作业提交失败,检查您的配置是不是有 mapreduce.framework.name 和相应的服务器地址
Posted
技术标签:
【中文标题】oozie 作业提交失败,检查您的配置是不是有 mapreduce.framework.name 和相应的服务器地址【英文标题】:oozie job submission fails with check your configuration for mapreduce.framework.name and the correspond server addressesoozie 作业提交失败,检查您的配置是否有 mapreduce.framework.name 和相应的服务器地址 【发布时间】:2013-04-29 21:52:25 【问题描述】: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)
【问题讨论】:
试试这个:***.com/questions/12831226/… 不幸的是我没有hadoop-env.sh。如何添加上面帖子中提到的变量? 您目前使用的是 Hadoop 和 Oozie 的哪些版本/发行版? 【参考方案1】:就我而言,此错误是由 workflow.xml 中的拼写错误引起的:<name-node>$nameNode</name-node>
而不是 <name-node>$nameNode</name-node>
。
【讨论】:
以上是关于oozie 作业提交失败,检查您的配置是不是有 mapreduce.framework.name 和相应的服务器地址的主要内容,如果未能解决你的问题,请参考以下文章