1) Install Hadoop 3.0 cluster
2) Run Yarn service application
3) stop yarn service app
On stopping yarn service, appId finishes with YarnApplicationState: FINISHED , FinalStatus Reported by AM: ENDED and Diagnostics: Navigate to the failed component for more details.
Here, Diagnostics message should be improved. When an application is explicitly stopped by user, the diagnostics message should say " Application stopped by user"