Using yarn logs command
Hi,
If I try and get the logs for an application like this:
yarn logs -applicationId application_1575531060741_10424
The command fails because I am not running it as the application owner. I need to run it like this:
yarn logs -applicationId application_1575531060741_10424 -appOwner hive
The problem is I want to write out all the yarn logs to the os so I can ingest them into splunk. If I try and figure out the appOwner for each application then this is awkward and time consuming even in a script.
Is there a better way to dump all the yarn logs to the os ?
Thanks

