RE: Question regarding logging capabilities in flink

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

Hi,

http://hortonworks.com/blog/simplifying-user-logs-management-and-access-in-yarn/

-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]]
Envoyé : vendredi 24 juin 2016 13:53
À : [hidden email]
Objet : Re: Question regarding logging capabilities in flink

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/logg
> ing.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
>
>



Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.