yarn logs -applicationId application_1517538889175_2550 > logs.txt
Yarn-本地获取任务日志
原文:https://www.cnblogs.com/EnzoDin/p/10962131.html