让Oozie不要改变java动作的CLASSPATH

时间:2016-07-14 18:31:56

标签: oozie

我在oozie中运行java应用程序,oozie在classpath中添加了一些东西。我怎么知道?当我在没有oozie的情况下运行这个应用程序时它工作得非常好,但是oozie我得到了

java.lang.NoSuchMethodError: org.apache.hadoop.yarn.webapp.util.WebAppUtils.getProxyHostsAndPortsForAmFilter(Lorg/apache/hadoop/conf/Configuration;)Ljava/util/List;
        at org.apache.hadoop.yarn.server.webproxy.amfilter.AmFilterInitializer.initFilter(AmFilterInitializer.java:40)
        at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:272)
        at org.apache.hadoop.yarn.webapp.WebApps$Builder$2.<init>(WebApps.java:222)
        at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:219)
        at org.apache.hadoop.mapreduce.v2.app.client.MRClientService.serviceStart(MRClientService.java:136)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStart(MRAppMaster.java:1058)

我甚至配置了

    <property>
        <name>oozie.use.system.libpath</name>
        <value>false</value>
    </property>
    <property>
        <name>oozie.launcher.mapreduce.job.user.classpath.first</name>
        <value>true</value>
    </property>

但它没有帮助。我怎么能告诉oozie完全****我的课程?

0 个答案:

没有答案