Oozie没有启动Amazon EMR

时间:2014-04-07 13:13:56

标签: oozie

我尝试在EMR集群中安装Apache oozie。我收到了错误。 “错误:IO_ERROR:java.net.ConnectException:连接被拒绝”。

按照以下链接进行安装: http://pkavuri.blogspot.in/2013/08/oozie-installation-is-simplified.html

运行以下命令后出现错误:

  

bin/oozie admin -oozie http://localhost:11000/oozie -status

遇到错误后我执行了以下步骤:

  • 将Hadoop和常见jar文件移动到文件夹中 “/oozie-3.3.2/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server/webapps/oozie/WEB-INF/lib” 和“oozie-3.3.2 / distro / target / oozie-3.3.2-distro / oozie-3.3.2 / lib /”

  • 在oozie-3.3.2 / libext

  • 中下载了derby

运行命令“tail -100f logs / catalina.out”后的错误跟踪:

  

错误:Oozie无法启动

     

原因:java.lang.NoClassDefFoundError:   组织/阿帕奇/ hadoop的/ util的/ ReflectionUtils

     

堆栈跟踪:   -------------------------------------------------- --------------- java.lang.NoClassDefFoundError:org / apache / hadoop / util / ReflectionUtils           在org.apache.oozie.service.Services.setServiceInternal(Services.java:359)           在org.apache.oozie.service.Services。(Services.java:108)           在org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:38)           在org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)           在org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)           在org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)           在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)           在org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)           在org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)           在org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)           在org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)           在org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)           在org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)           在org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)           在org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)           在org.apache.catalina.core.StandardHost.start(StandardHost.java:840)           在org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)           在org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)           在org.apache.catalina.core.StandardService.start(StandardService.java:525)           在org.apache.catalina.core.StandardServer.start(StandardServer.java:754)           在org.apache.catalina.startup.Catalina.start(Catalina.java:595)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)           at java.lang.reflect.Method.invoke(Method.java:606)           在org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)           在org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)引起   by:java.lang.ClassNotFoundException:   org.apache.hadoop.util.ReflectionUtils           在org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)           在org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

     

... 27更多

1 个答案:

答案 0 :(得分:0)

尝试创建一个libext文件夹并将所有hadoop jar,extjs jar放入其中。然后运行oozie-setup.sh然后运行oozie-run.sh

在这种情况下,根据您的日志,我猜您缺少hadoop-core.jar。