0.yarn top;查看yarn资源消耗情况
1.yarn application -list;查看所有正在运行的app
2.yarn logs -applicationId appId;查看任务运行日志
3.yarn application -list -appStates;查看不同状态的app
1. ALL NEW 2. NEW_SAVING 3. SUBMITTED 4. ACCEPTED 5. RUNNING 6. FINISHED 7. FAILED 8. KILLED