Spark History UI not working | Ambari | YARN

我只是一个虾纸丫 提交于 2020-01-06 23:45:37

问题


I have a hadoop cluster setup using Ambari which has services like HDFS,YARN,spark running on the hosts. When i run the sample spark pi in cluster mode as master yarn, the application gets successfully executed and I can view the same from resource manager logs.

But when i click on the history link, it does not show the spark history UI. How to enable/view the same?


回答1:


First, check if your spark-history server is already configured by looking for spark.yarn.historyServer.address in spark-defaults.conf file.

If not configured, this link should help you configure the server: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.6/bk_installing_manually_book/content/ch19s04s01.html

If already configured, check if the history server host is accessible from all the nodes in the cluster, and also the port is open.



来源:https://stackoverflow.com/questions/41627985/spark-history-ui-not-working-ambari-yarn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!