Re: Question regarding logging capabilities in flink

Posted by Maximilian Michels on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Question-regarding-logging-capabilities-in-flink-tp7682p7685.html

Hi,

Flink prints the Yarn application id during deployment of the cluster.
You can then query the logs from Yarn using the `yarn logs
-applicationId <appId>` command.

Please have a look at
https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/YarnCommands.html#logs

Cheers,
Max

On Thu, Jun 23, 2016 at 7:44 PM, Sharma, Samiksha
<[hidden email]> wrote:

> Hi,
>
> I was reading this link regarding logging in flink jobs
> (https://ci.apache.org/projects/flink/flink-docs-master/internals/logging.html)
> and with modifications to log4j files I am able to see logs in flink/log
> directory when I run job Standalone or on Yarn, but I was more interested in
> seeing the logs I added in my job when I see logs on Yarn UI.
> Is there a way in Flink that can enable the user to see the logs added in a
> job on Yarn rather than on client side.?
>
> Thanks
> Samiksha
>
>