Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有办法可以获取到 yarn application id #42

Open
lycbug666 opened this issue Apr 5, 2021 · 2 comments
Open

有没有办法可以获取到 yarn application id #42

lycbug666 opened this issue Apr 5, 2021 · 2 comments

Comments

@lycbug666
Copy link

看了一遍代码只是获取到了 job id,不知道有没有对应的 api 可以获取 yarn application id 呢

@huangzhigao886
Copy link

yarn applicaiton id是通过解析命令行的console流传递过来的数据进行解析出来的,没有获取到,可以试着自己通过flink cli提交任务,看是否是控制台没有打印出applicationId,或者是打印出applicationId,但与项目中提取applicationId方式不兼容

@zfzftt
Copy link

zfzftt commented Mar 15, 2022

这里作者只是提取了jobID,console中是有输出application id的,个人认为yarn per job模式下应该提取的是application id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants