阿里云 搭建flink 后 web界面可以访问 但是没有task manager节点存活

在阿里云环境中尝试搭建Flink时,遇到Web界面可访问但无Task Manager节点存活的问题。日志显示'failed to bind to /0.0.0.0:6123, shutting down Netty transport'错误。尝试了调整IP地址、更改端口以及停止并重启服务,但问题仍未解决。最终通过检查并结束遗留进程成功启动Flink。" 128281326,8292163,MetaFormer:计算机视觉新视角,"['深度学习', '计算机视觉', 'Transformer', '模型架构']
摘要由CSDN通过智能技术生成

现象 : flink web界面可以访问 但是没有task manager节点存活
查看启动日志 : 报错 failed to bind to /0.0.0.0:6123, shutting down Netty transport

2019-11-07 16:31:45,150 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - --------------------------------------------------------------------------------
2019-11-07 16:31:45,151 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Starting StandaloneSessionClusterEntrypoint (Version: 1.9.1, Rev:4d56de8, Date:30.09.2019 @ 11:32:19 CST)
2019-11-07 16:31:45,151 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - OS current user: root
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Current Hadoop/Kerberos user:
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - JVM: Java HotSpot™ 64-Bit Server VM - Oracle Corporation - 1.8/25.231-b11
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Maximum heap size: 989 MiBytes
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - JAVA_HOME: /home/app/jdk1.8.0_231
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - No Hadoop Dependency available
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - JVM Options:
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - -Xms1024m
2019-11-07 16:31:45,152 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - -Xmx1024m
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - -Dlog.file=/home/app/flink-1.9.1/log/flink-root-standalonesession-3-iZ2zecm2bsuv242q0grs37Z.log
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - -Dlog4j.configuration=file:/home/app/flink-1.9.1/conf/log4j.properties
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - -Dlogback.configurationFile=file:/home/app/flink-1.9.1/conf/logback.xml
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Program Arguments:
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - --configDir
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - /home/app/flink-1.9.1/conf
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - --executionMode
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - cluster
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Classpath: /home/app/flink-1.9.1/lib/flink-table_2.11-1.9.1.jar:/home/app/flink-1.9.1/lib/flink-table-blink_2.11-1.9.1.jar:/home/app/flink-1.9.1/lib/log4j-1.2.17.jar:/home/app/flink-1.9.1/lib/slf4j-log4j12-1.7.15.jar:/home/app/flink-1.9.1/lib/flink-dist_2.11-1.9.1.jar:::
2019-11-07 16:31:45,153 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - --------------------------------------------------------------------------------
2019-11-07 16:31:45,154 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Registered UNIX signal handlers for [TERM, HUP, INT]
2019-11-07 16:31:45,182 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.rpc.address, 172.17.57.173
2019-11-07 16:31:45,189 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.rpc.port, 6123
2019-11-07 16:31:45,189 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.heap.size, 1024m
2019-11-07 16:31:45,189 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: taskmanager.heap.size, 1024m
2019-11-07 16:31:45,189 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: taskmanager.numberOfTaskSlots, 1
2019-11-07 16:31:45,189 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: parallelism.default, 1
2019-11-07 16:31:45,190 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.execution.failover-strategy, region
2019-11-07 16:31:45,297 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Starting StandaloneSessionClusterEntrypoint.
2019-11-07 16:31:45,297 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Install default filesystem.
2019-11-07 16:31:45,323 INFO org.apache.flink.core.fs.FileSystem - Hadoop is not in the classpath/dependencies. The extended set of supported File Systems via Hadoop is not available.
2019-11-07 16:31:45,346 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Install security context.
2019-11-07 16:31:45,353 INFO org.apache.flink.runtime.security.modules.HadoopModuleFactory - Cannot create Hadoop Security Module because Hadoop cannot be found in the Classpath.
2019-11-07 16:31:45,365 INFO org.apache.flink.runtime.security.SecurityUtils - Cannot install HadoopSecurityContext because Hadoop cannot be found in the Classpath.
2019-11-07 16:31:45,365 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Initializing cluster services.
2019-11-07 16:31:45,708 INFO org.apache.flink.runtime.rpc.akka.AkkaRpcServiceUtils - Trying to start actor system at 172.17.57.173:6123
2019-11-07 16:31:46,323 INFO akka.event.slf4j.Slf4jLogger - Slf4jLogger started
2019-11-07 16:31:46,346 INFO akka.remote.Remoting - Starting remoting
2019-11-07 16:31:46,480 ERROR akka.remote.transport.netty.NettyTransport - failed to bind to /0.0.0.0:6123, shutting down Netty transport
2019-11-07 16:31:46,485 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Shutting StandaloneSessionClusterEntrypoint down with application status FAILED. Diagnostics java.net.BindException: Could not start actor system on any port in port range 6123
at org.apache.flink.runtime.clusterframework.BootstrapTools.startActorSystem(BootstrapTools.java:172)
at org.apache.flink.runtime.clusterframework.BootstrapTools.startActorSystem(BootstrapTools.java:112)
at org.apache.flink.runtime.clusterframework.BootstrapTools.startActorSystem(BootstrapTools.java:87)
at org.apache.flink.runtime.rpc.akka.AkkaRpcServiceUtils.createRpcService(AkkaRpcServiceUtils.java:84)
at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.createRpcService(ClusterEntrypoint.java:272)
at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.initializeServices(ClusterEntrypoint.java:248)
at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.runCluster(ClusterEntrypoint.java:202)
at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.lambda$startCluster 0 ( C l u s t e r E n t r y p o i n t . j a v a : 164 ) a t o r g . a p a c h e . f l i n k . r u n t i m e . s e c u r i t y . N o O p S e c u r i t y C o n t e x t . r u n S e c u r e d ( N o O p S e c u r i t y C o n t e x t . j a v a : 30 ) a t o r g . a p a c h e . f l i n k . r u n t i m e . e n t r y p o i n t . C l u s t e r E n t r y p o i n t . s t a r t C l u s t e r ( C l u s t e r E n t r y p o i n t . j a v a : 163 ) a t o r g . a p a c h e . f l i n

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值