Hi,
I see two options:
1. You can login to the slave machines, which run the NodeManagers, and access
the container logs. The path of the container logs can be configured in
yarn-site.xml with the key yarn.nodemanager.log-dirs. In my tests with EMR, the
logs are stored at /var/log/hadoop-yarn/containers/ by default. For example:
sudo ls /var/log/hadoop-yarn/containers/application_1523645835493_0002/container_1523645835493_0002_01_000002
taskmanager.err taskmanager.log taskmanager.out
2. You can download the logs via HTTP from Flink:
http://host:port/jobmanager/log
http://host:port/taskmanagers/<taskmanager-id>/log
To get a list of taskmanagers:
http://host:port/taskmanagers
Best,
Gary