October 2018
Beginner
220 pages
5h 33m
English
Once the application is submitted, you can start monitoring the application by requesting the ApplicationReport object from YarnClient for a given app ID. From this report, you can extract the YARN application state and the application status directly through available methods, as shown in the following code snippet:
ApplicationReport report = yarnClient.getApplicationReport(appId);YarnApplicationState state = report.getYarnApplicationState();FinalApplicationStatus dsStatus = report.getFinalApplicationStatus();
The request for an application report can be done periodically to find the latest state of the application. The status should return different types of status for you to verify. For your application to ...
Read now
Unlock full access