You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Shengnan YU <ys...@hotmail.com> on 2019/03/20 07:30:31 UTC

flink on yarn log rolling

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!


Re: flink on yarn log rolling

Posted by Paul Lam <pa...@gmail.com>.
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 <ys...@hotmail.com> 写道:
> 
> 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!


Re: flink on yarn log rolling

Posted by Guowei Ma <gu...@gmail.com>.
Could you share the content of log4j.properties file you modified?
And which version of Flink are you using?

Best
Guowei

Shengnan YU <ys...@hotmail.com> 于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!
>
>