测试步骤:
1.打开或者关闭timeline server
yarn.timeline-service.enabled=true/false
2.选择timelineserver版本
yarn.timeline-service.version=1.5f/2.0f
3.打开或关闭timeline server v2.0/v1.5服务
4.yarn测试
cd /usr/hdp/3.1.0.0-78/hadoop-yarn
hadoop jar ./hadoop-yarn-applications-distributedshell-3.1.1.3.1.0.0-78.jar org.apache.hadoop.yarn.applications.distributedshell.Client —jar ./hadoop-yarn-applications-distributedshell-3.1.1.3.1.0.0-78.jar —shell_command ls —num_containers 10 —container_memory 350 —master_memory 350 —priority 10
5.测试成功
最终测试结果,如果开启了timelineserver,verision选择了v2.0,则v1.5和v2.0服务必须都正常,如果选择了v1.5,则只需保证v1.5正常即可。如果关闭timelineserver,则与v.1.5和v2.0无关。
timelineserverV2是凌驾于v1之上的,v1的jps为applicationhistoryserver,v2.0的jps为timelineserver reader。v2只是为v1补充了些功能,并不能替代v1。
https://blog.csdn.net/TomAndersen/article/details/106615484
https://blog.csdn.net/qq_20995587/article/details/82141775
https://www.jianshu.com/p/b84e0e52d4b2
https://blog.csdn.net/zhanglong_4444/article/details/87794325
https://blog.csdn.net/weixin_42728895/article/details/105550369