Addendum patch for YARN-7163 in branch-2

This commit is contained in:
Sunil G 2017-09-15 11:34:14 +05:30
parent eaef8446f6
commit 317af87add

View File

@ -109,8 +109,7 @@ protected void render(Block html) {
final GetApplicationReportRequest request =
GetApplicationReportRequest.newInstance(appID);
if (callerUGI == null) {
appReport =
appBaseProt.getApplicationReport(request).getApplicationReport();
appReport = getApplicationReport(request);
} else {
appReport =
callerUGI.doAs(new PrivilegedExceptionAction<ApplicationReport>() {