flink on yarn log rolling

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

flink on yarn log rolling

ysn2233
Hi all:
I'd like to enable log rolling for flink on yarn. I tried to modify log4j.properties and logback.xml in flink/conf however there still one "taskmanager.log" in yarn container log. Any idea with that? Thank you very much!

Reply | Threaded
Open this post in threaded view
|

Re: flink on yarn log rolling

Guowei Ma
Could you share the content of log4j.properties file you modified? 
And which version of Flink are you using?

Best
Guowei

Shengnan YU <[hidden email]> 于2019年3月20日周三 下午3:30写道:
Hi all:
I'd like to enable log rolling for flink on yarn. I tried to modify log4j.properties and logback.xml in flink/conf however there still one "taskmanager.log" in yarn container log. Any idea with that? Thank you very much!

Reply | Threaded
Open this post in threaded view
|

Re: flink on yarn log rolling

Paul Lam
In reply to this post by ysn2233
Hi Shengnan,

If you have the ssh permission, you could take a look at the container working directories to check if the taskmanager local log4j.properties is as expected. 

Best,
Paul Lam

在 2019年3月20日,15:30,Shengnan YU <[hidden email]> 写道:

Hi all:
I'd like to enable log rolling for flink on yarn. I tried to modify log4j.properties and logback.xml in flink/conf however there still one "taskmanager.log" in yarn container log. Any idea with that? Thank you very much!