我正在设置一个带ZooKeeper和3个TaskManager的JobManager HA集群。我正在kubernetes中进行此操作,由于它们位于有状态集合中,因此需要JM通过完整的主机名(.radio-container {
max-height: 60vh;
overflow-y: scroll;
.radio-item {
border-bottom: 0.1rem #E5E5E5 solid;
padding: 25px;
}
}
而非hostname -f
)来访问TM。
当前,TM似乎只是将他们的地址报告给JM ...
hostname
我已经浏览了选项here,特别是2019-04-12 08:58:32,426 WARN akka.remote.ReliableDeliverySupervisor - Association with remote system [akka.tcp://flink-metrics@flink-taskmanager-1:50011] has failed, address is now gated for [50] ms. Reason: [Association failed with [akka.tcp://flink-metrics@flink-taskmanager-1:50011]] Caused by: [flink-taskmanager-1: Name or service not known]
2019-04-12 08:58:32,427 WARN akka.remote.ReliableDeliverySupervisor - Association with remote system [akka.tcp://flink-metrics@flink-taskmanager-0:50011] has failed, address is now gated for [50] ms. Reason: [Association failed with [akka.tcp://flink-metrics@flink-taskmanager-0:50011]] Caused by: [flink-taskmanager-0: Name or service not known]
2019-04-12 08:58:32,431 WARN akka.remote.ReliableDeliverySupervisor - Association with remote system [akka.tcp://flink-metrics@flink-taskmanager-2:50011] has failed, address is now gated for [50] ms. Reason: [Association failed with [akka.tcp://flink-metrics@flink-taskmanager-2:50011]] Caused by: [flink-taskmanager-2: Name or service not known]
,但没有任何效果。
如何让TM将其地址作为完整主机名或自定义值报告给JM?
taskmanager.host
答案 0 :(得分:0)
要回答我自己的问题:taskmanager.host
是正确的配置。我不确定我所做的更改使它开始起作用,但是我想这与清除ZooKeeper的flink数据有关。