简体   繁体   English

Hadoop 3.3 和 oozie 5.2.0

[英]Hadoop 3.3 and oozie 5.2.0

I am using hadoop 3.3 and oozie 5.2.0 .我正在使用hadoop 3.3和 oozie oozie 5.2.0

I am getting below error:我收到以下错误:

Exception in thread "main" java.lang.NullPointerException
    at org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.unregisterApplicationMaster(AMRMClientImpl.java:519)
    at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl.unregisterApplicationMaster(AMRMClientAsyncImpl.java:220)
    at org.apache.oozie.action.hadoop.LauncherAM.unregisterWithRM(LauncherAM.java:354)
    at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:280)
    at org.apache.oozie.action.hadoop.LauncherAM$1.run(LauncherAM.java:155)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1845)
    at org.apache.oozie.action.hadoop.LauncherAM.main(LauncherAM.java:143)

Default Hadoop Version for Oozie 5.2 is 2.6.0 Oozie 5.2 的默认 Hadoop 版本为 2.6.0

You'd likely need to build Oozie against a newer version of Hadoop您可能需要针对较新版本的 Hadoop 构建 Oozie

http://oozie.apache.org/docs/5.2.0/ENG_Building.html http://oozie.apache.org/docs/5.2.0/ENG_Building.html

There are alternatives because there is a current project call Apache Bigtop that compile Hadoop ecosystem tools with new versións.有替代方案,因为当前有一个项目调用 Apache Bigtop,它使用新版本编译 Hadoop 生态系统工具。 So, you have two options: the first one is use current Bigtop version 3.1.1 , who runs over oozie 5.2.1 and hadoop 3.2.4, or using the Github history changes of Bigtop as a reference to compile as your own.所以,你有两个选择:第一个是使用当前的Bigtop 版本 3.1.1 ,它运行在 oozie 5.2.1 和 hadoop 3.2.4 之上,或者使用Bigtop 的 Github 历史变化作为参考作为你自己的编译。 In the other hand, there are some blogs in chinese talking about it like this https://blog.csdn.net/tutu_ai/article/details/124372422另一方面,有一些中文博客像这样谈论它https://blog.csdn.net/tutu_ai/article/details/124372422

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM