用公共ip地址启动spark主机

g52tjvyc  于 2021-05-17  发布在  Spark
关注(0)|答案(0)|浏览(275)

我正在尝试用我的公共静态ip地址启动spark主机。当我跑的时候 start-master.sh 我收到下面的信息。

failed to launch: nice -n 0 /opt/spark/bin/spark-class org.apache.spark.deploy.master.Master --host 102.x.y.z --port 7077 --webui-port 8080
        at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248)
        at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:748)   20/11/16 13:08:05 
INFO ShutdownHookManager: Shutdown hook called full log in /opt/spark/logs/spark-root-org.apache.spark.deploy.master.Master-1-b016d798a974.out

我在报告中添加了以下内容 spark-env.sh conf目录中的脚本:
spark\u master\u host=102.x.y.z
Spark\u本地\u ip=102.x.y.z
是否可以使用公共ip地址运行spark?如何实现?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题