Apache Flink 中文用户邮件列表
Search
everywhere
only in this topic
Advanced Search
flink on yarn 如何获取TM所在容器的ID
Classic
List
Threaded
♦
♦
Locked
2 messages
gigayou
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
flink on yarn 如何获取TM所在容器的ID
如题,如何通过代码的方式获得到?
gigayou
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: flink on yarn 如何获取TM所在容器的ID
找到一个方案,虽然是hash后的,getRuntimeContext().getMetricGroup().getAllVariables().get("<task_id>")
Free forum by Nabble
Edit this page