我通过Ambari 2.6.1安装了Tez 0.9.1。成功地将tez.tar.gz复制到hdfs。但是当服务检查时-我得到了错误。深入研究yarn logs -applicationId APP_ID的日志,我发现了Error: Could not find or load main class org.apache.tez.dag.app.DAGAppMaster。虽然DAG jar是在tar.gz中。tez.lib.uris==${fs.default.name}/hdp/apps/${hdp.version}/tez/tez.tar.gz.如果我将其解压到hdfs中,然后更改为:tez.lib.uris==${fs.default.name}/hdp/apps/${hdp.version}/tez,${fs.default.name}/hdp/apps/${hdp.version}/tez/lib一切正常,服务检查正常。尝试:手动复制tar.gz,将chmod777设置为它,各种tez.lib.uris.classpath值-都不起作用。
感谢您的帮助!提前感谢
发布于 2020-01-16 17:22:55
找到了解决方案。需要在yarn-site.xml中使用:/usr/hdp/current/tez-client/*,/usr/hdp/current/tez-client/lib/*扩展yarn.application.classpath,在我的例子中,最终的值是:
{{hadoop_home}}/conf,{{hadoop_home}}/*,{{hadoop_home}}/lib/*,/usr/hdp/current/hadoop-hdfs-client/*,/usr/hdp/current/hadoop-hdfs-client/lib/*,/usr/hdp/current/hadoop-yarn-client/*,/usr/hdp/current/hadoop-yarn-client/lib/*,/usr/hdp/current/ext/hadoop/*,/usr/hdp/current/tez-client/*,/usr/hdp/current/tez-client/lib/*https://stackoverflow.com/questions/59666616
复制相似问题