gpt4 book ai didi

apache-spark - 如何更改Spark ui端口?

转载 作者:行者123 更新时间:2023-12-04 00:27:44 34 4
gpt4 key购买 nike

我已经在群集上安装了spark,并且也进行了马拉松比赛,两者都在端口8080中,如何更改spark-ui的默认端口?

最佳答案

参见http://spark.apache.org/docs/latest/spark-standalone.html:

You can optionally configure the cluster further by setting environment variables in conf/spark-env.sh. Create this file by starting with the conf/spark-env.sh.template, and copy it to all your worker machines for the settings to take effect. The following settings are available:

...

SPARK_MASTER_WEBUI_PORT - Port for the master web UI (default: 8080).


所以-将 conf/spark-env.sh.template复制到 conf/spark-env.sh,并对其进行编辑以包括: SPARK_MASTER_WEBUI_PORT=<your preferred port>

关于apache-spark - 如何更改Spark ui端口?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36083783/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com